[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/lisp.h
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/lisp.h |
Date: |
Mon, 27 Dec 2004 11:36:14 -0500 |
Index: emacs/src/lisp.h
diff -c emacs/src/lisp.h:1.518 emacs/src/lisp.h:1.519
*** emacs/src/lisp.h:1.518 Thu Dec 23 00:15:49 2004
--- emacs/src/lisp.h Mon Dec 27 16:04:22 2004
***************
*** 1671,1678 ****
--- 1671,1686 ----
#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) \