# HG changeset patch # User Richard M. Stallman # Date 1104163462 0 # Node ID a9827c6a7e4eeeab2afc2628d1af6d235fb4b5c2 # Parent 5feed0f86f52f91993bf1afd84c3e647049302d3 Comment changes. diff -r 5feed0f86f52 -r a9827c6a7e4e src/lisp.h --- a/src/lisp.h Mon Dec 27 16:03:49 2004 +0000 +++ b/src/lisp.h Mon Dec 27 16:04:22 2004 +0000 @@ -1671,8 +1671,16 @@ #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) \