comparison src/lisp.h @ 83238:223c12363c0c

Merged in changes from CVS trunk. Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-747 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-748 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-749 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-750 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-751 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-752 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-78 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-79 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-80 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-278
author Karoly Lorentey <lorentey@elte.hu>
date Thu, 06 Jan 2005 15:00:09 +0000
parents 4ee39d9428b0 a9827c6a7e4e
children 3dcba0bc766b
comparison
equal deleted inserted replaced
83237:4ee39d9428b0 83238:223c12363c0c
1669 1669
1670 #define DEFVAR_LISP(lname, vname, doc) defvar_lisp (lname, vname) 1670 #define DEFVAR_LISP(lname, vname, doc) defvar_lisp (lname, vname)
1671 #define DEFVAR_LISP_NOPRO(lname, vname, doc) defvar_lisp_nopro (lname, vname) 1671 #define DEFVAR_LISP_NOPRO(lname, vname, doc) defvar_lisp_nopro (lname, vname)
1672 #define DEFVAR_BOOL(lname, vname, doc) defvar_bool (lname, vname) 1672 #define DEFVAR_BOOL(lname, vname, doc) defvar_bool (lname, vname)
1673 #define DEFVAR_INT(lname, vname, doc) defvar_int (lname, vname) 1673 #define DEFVAR_INT(lname, vname, doc) defvar_int (lname, vname)
1674
1675 /* TYPE is nil for a general Lisp variable.
1676 An integer specifies a type; then only LIsp values
1677 with that type code are allowed (except that nil is allowed too).
1678 LNAME is the LIsp-level variable name.
1679 VNAME is the name of the buffer slot.
1680 DOC is a dummy where you write the doc string as a comment. */
1674 #define DEFVAR_PER_BUFFER(lname, vname, type, doc) \ 1681 #define DEFVAR_PER_BUFFER(lname, vname, type, doc) \
1675 defvar_per_buffer (lname, vname, type, 0) 1682 defvar_per_buffer (lname, vname, type, 0)
1683
1676 #define DEFVAR_KBOARD(lname, vname, doc) \ 1684 #define DEFVAR_KBOARD(lname, vname, doc) \
1677 defvar_kboard (lname, \ 1685 defvar_kboard (lname, \
1678 (int)((char *)(&current_kboard->vname) \ 1686 (int)((char *)(&current_kboard->vname) \
1679 - (char *)current_kboard)) 1687 - (char *)current_kboard))
1680 1688