diff options
author | Richard M. Stallman <rms@gnu.org> | 2004-12-27 16:05:57 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2004-12-27 16:05:57 +0000 |
commit | 92d2947be488f15437d52b0e51ae8830ba7b980d (patch) | |
tree | 4bef2565cc18dcb86efbda7a7c0b8292bfe1e99a /src/lisp.h | |
parent | 62a29071d6d3014edc8995bf424a37ba929d12c4 (diff) | |
download | emacs-92d2947be488f15437d52b0e51ae8830ba7b980d.tar.gz |
Comment changes.
Diffstat (limited to 'src/lisp.h')
-rw-r--r-- | src/lisp.h | 8 |
1 files changed, 8 insertions, 0 deletions
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) \ |