From 92d2947be488f15437d52b0e51ae8830ba7b980d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 27 Dec 2004 16:05:57 +0000 Subject: Comment changes. --- src/lisp.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lisp.h') diff --git a/src/lisp.h b/src/lisp.h index 8081e7c4fe4..f6db53f2ff8 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -1671,8 +1671,16 @@ extern void defvar_kboard P_ ((char *, int)); #define DEFVAR_LISP_NOPRO(lname, vname, doc) defvar_lisp_nopro (lname, vname) #define DEFVAR_BOOL(lname, vname, doc) defvar_bool (lname, vname) #define DEFVAR_INT(lname, vname, doc) defvar_int (lname, vname) + +/* TYPE is nil for a general Lisp variable. + An integer specifies a type; then only LIsp values + with that type code are allowed (except that nil is allowed too). + LNAME is the LIsp-level variable name. + VNAME is the name of the buffer slot. + DOC is a dummy where you write the doc string as a comment. */ #define DEFVAR_PER_BUFFER(lname, vname, type, doc) \ defvar_per_buffer (lname, vname, type, 0) + #define DEFVAR_KBOARD(lname, vname, doc) \ defvar_kboard (lname, \ (int)((char *)(¤t_kboard->vname) \ -- cgit v1.2.1