]> code.delx.au - gnu-emacs/commit
Better support for future plugins
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 13 Feb 2015 02:20:12 +0000 (18:20 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 13 Feb 2015 02:21:32 +0000 (18:21 -0800)
commit65563fd7714271582d5146c09202c0f7a0631fe5
tree3da5c2a4dec51d8d53f1b8cc7b7de072bd2577d9
parente39d96ebe4c342885433afc28232197ce398fe71
Better support for future plugins

See the thread containing:
http://lists.gnu.org/archive/html/emacs-devel/2015-02/msg00720.html
* lib-src/make-docfile.c (write_globals): Generate code that #defines
Qxxx macros other than Qnil only if DEFINE_NONNIL_Q_SYMBOL_MACROS.
Qnil is safe to define even in plugins, since it must be zero for
other reasons.
* src/lisp.h (DEFINE_LISP_SYMBOL): New macro, replacing and simplifying
DEFINE_LISP_SYMBOL_BEGIN / DEFINE_LISP_SYMBOL_END.  All uses changed.
(DEFINE_NONNIL_Q_SYMBOL_MACROS): New macro, defaulting to true.
lib-src/ChangeLog
lib-src/make-docfile.c
src/ChangeLog
src/lisp.h