diff options
| author | Paul Eggert | 2012-08-14 10:45:25 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-08-14 10:45:25 -0700 |
| commit | f5d9e83a70335308d5c6d18d62a7ac94f4bd431c (patch) | |
| tree | fc8adfdc499d17f2cc5afba12a70a157d7463258 /src/ChangeLog | |
| parent | 4abcdac823a757bffc204f5eb074eb09ad69e58a (diff) | |
| download | emacs-f5d9e83a70335308d5c6d18d62a7ac94f4bd431c.tar.gz 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 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 956d6922d2e..ed711b3a663 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2012-08-14 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Use bool, not int, for Lisp booleans. | ||
| 4 | This is more natural, and on my platform (GCC 4.7.1 x86-64) it | ||
| 5 | makes Emacs a bit smaller and presumably a bit faster. | ||
| 6 | * lisp.h: Include <stdbool.h>. | ||
| 7 | (struct Lisp_Boolfwd, defvar_bool): | ||
| 8 | * lread.c (defvar_bool): Use bool, not int, for Lisp booleans. | ||
| 9 | * regex.c [!emacs]: Include <stdbool.h>. | ||
| 10 | (false, true): Remove; <stdbool.h> does this for us now. | ||
| 11 | |||
| 1 | 2012-08-14 Chong Yidong <cyd@gnu.org> | 12 | 2012-08-14 Chong Yidong <cyd@gnu.org> |
| 2 | 13 | ||
| 3 | * character.c (Fcharacterp): Doc fix (Bug#12076). | 14 | * character.c (Fcharacterp): Doc fix (Bug#12076). |