summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-08-14 10:45:25 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-08-14 10:45:25 -0700
commitf5d9e83a70335308d5c6d18d62a7ac94f4bd431c (patch)
treefc8adfdc499d17f2cc5afba12a70a157d7463258 /lisp/emacs-lisp
parent4abcdac823a757bffc204f5eb074eb09ad69e58a (diff)
downloademacs-f5d9e83a70335308d5c6d18d62a7ac94f4bd431c.tar.gz
emacs-f5d9e83a70335308d5c6d18d62a7ac94f4bd431c.tar.bz2
emacs-f5d9e83a70335308d5c6d18d62a7ac94f4bd431c.zip
Use bool for Emacs Lisp booleans.
This is more natural, and on my platform (GCC 4.7.1 x86-64) it makes Emacs's text size .03% smaller and presumably a bit faster. * admin/merge-gnulib (GNULIB_MODULES): Add stdbool. This documents a new direct dependency; stdbool was already being used indirectly via other gnulib modules. * lib-src/make-docfile.c (enum global_type): Sort values roughly in decreasing alignment, except put functions last. (compare_globals): Use this new property of enum global_type. (write_globals): Use bool, not int, for booleans. * src/lisp.h: Include <stdbool.h>. (struct Lisp_Boolfwd, defvar_bool): * src/lread.c (defvar_bool): Use bool, not int, for Lisp booleans. * src/regex.c [!emacs]: Include <stdbool.h>. (false, true): Remove; <stdbool.h> does this for us now.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions