diff options
| author | Paul Eggert | 2014-12-18 18:12:01 -0800 |
|---|---|---|
| committer | Paul Eggert | 2014-12-18 18:12:24 -0800 |
| commit | ad013ba63134d4fe6470665abf2f9e33a595848a (patch) | |
| tree | 595bcf2e2228e833fac882aeb60a8793b057f024 /src/ChangeLog | |
| parent | 83299b940dd211f4e142d754b93ea592e9f67974 (diff) | |
| download | emacs-ad013ba63134d4fe6470665abf2f9e33a595848a.tar.gz emacs-ad013ba63134d4fe6470665abf2f9e33a595848a.zip | |
Minor cleanups for Lisp objects and symbols
* alloc.c (next_vector, set_next_vector):
* lisp.h (lisp_h_INTEGERP, make_number, XFASTINT, make_natnum):
(lisp_h_make_number) [USE_LSB_TAG]:
Use Lisp_Int0 instead of the mystery constant 0.
* alloc.c (mark_object): Always set and use po; that's simpler.
(CHECK_LIVE, CHECK_ALLOCATED_AND_LIVE):
Properly parenthesize definientia.
* bidi.c (bidi_initialize):
* buffer.c (init_buffer_once):
* nsfns.m (syms_of_nsfns):
* nsmenu.m (syms_of_nsmenu):
* nsselect.m (syms_of_nsselect):
Prefer DEFSYM to defining by hand.
* data.c: Fix too-long line.
* lisp.h (DECLARE_GDB_SYM): New macro.
(DEFINE_GDB_SYMBOL_BEGIN): Use it.
(DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END) [!MAIN_PROGRAM]:
Declare the symbol, so it's visible to everywhere lisp.h is included.
Move forward decls as far forward as they can go,
to allow future changes to use them.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 359dca97f48..5bab023fd86 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,27 @@ | |||
| 1 | 2014-12-19 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Minor cleanups for Lisp objects and symbols | ||
| 4 | * alloc.c (next_vector, set_next_vector): | ||
| 5 | * lisp.h (lisp_h_INTEGERP, make_number, XFASTINT, make_natnum): | ||
| 6 | (lisp_h_make_number) [USE_LSB_TAG]: | ||
| 7 | Use Lisp_Int0 instead of the mystery constant 0. | ||
| 8 | * alloc.c (mark_object): Always set and use po; that's simpler. | ||
| 9 | (CHECK_LIVE, CHECK_ALLOCATED_AND_LIVE): | ||
| 10 | Properly parenthesize definientia. | ||
| 11 | * bidi.c (bidi_initialize): | ||
| 12 | * buffer.c (init_buffer_once): | ||
| 13 | * nsfns.m (syms_of_nsfns): | ||
| 14 | * nsmenu.m (syms_of_nsmenu): | ||
| 15 | * nsselect.m (syms_of_nsselect): | ||
| 16 | Prefer DEFSYM to defining by hand. | ||
| 17 | * data.c: Fix too-long line. | ||
| 18 | * lisp.h (DECLARE_GDB_SYM): New macro. | ||
| 19 | (DEFINE_GDB_SYMBOL_BEGIN): Use it. | ||
| 20 | (DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END) [!MAIN_PROGRAM]: | ||
| 21 | Declare the symbol, so it's visible to everywhere lisp.h is included. | ||
| 22 | Move forward decls as far forward as they can go, | ||
| 23 | to allow future changes to use them. | ||
| 24 | |||
| 1 | 2014-12-18 Paul Eggert <eggert@cs.ucla.edu> | 25 | 2014-12-18 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 26 | ||
| 3 | * gnutls.c: Include gnutls.h. | 27 | * gnutls.c: Include gnutls.h. |