diff options
| author | Paul Eggert | 2014-12-19 14:20:12 -0800 |
|---|---|---|
| committer | Paul Eggert | 2014-12-19 14:20:32 -0800 |
| commit | 8fa2e2544a0cc10bb1966f374a57bf946a213595 (patch) | |
| tree | 0a07d66f707143a8326e4b0497b85398e9f599c1 | |
| parent | f447d33fdb082ce8e5d336be6034df24339b4c45 (diff) | |
| download | emacs-8fa2e2544a0cc10bb1966f374a57bf946a213595.tar.gz emacs-8fa2e2544a0cc10bb1966f374a57bf946a213595.zip | |
* buffer.c (syms_of_buffer): Omit unneeded staticpros.
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/buffer.c | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5bab023fd86..819c88bc3a0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | * nsmenu.m (syms_of_nsmenu): | 14 | * nsmenu.m (syms_of_nsmenu): |
| 15 | * nsselect.m (syms_of_nsselect): | 15 | * nsselect.m (syms_of_nsselect): |
| 16 | Prefer DEFSYM to defining by hand. | 16 | Prefer DEFSYM to defining by hand. |
| 17 | * buffer.c (syms_of_buffer): Omit unneeded staticpros. | ||
| 17 | * data.c: Fix too-long line. | 18 | * data.c: Fix too-long line. |
| 18 | * lisp.h (DECLARE_GDB_SYM): New macro. | 19 | * lisp.h (DECLARE_GDB_SYM): New macro. |
| 19 | (DEFINE_GDB_SYMBOL_BEGIN): Use it. | 20 | (DEFINE_GDB_SYMBOL_BEGIN): Use it. |
diff --git a/src/buffer.c b/src/buffer.c index ba3245fa5ad..b57d968e73a 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5395,13 +5395,8 @@ syms_of_buffer (void) | |||
| 5395 | last_overlay_modification_hooks | 5395 | last_overlay_modification_hooks |
| 5396 | = Fmake_vector (make_number (10), Qnil); | 5396 | = Fmake_vector (make_number (10), Qnil); |
| 5397 | 5397 | ||
| 5398 | staticpro (&Qfundamental_mode); | ||
| 5399 | staticpro (&Qmode_class); | ||
| 5400 | staticpro (&QSFundamental); | 5398 | staticpro (&QSFundamental); |
| 5401 | staticpro (&Vbuffer_alist); | 5399 | staticpro (&Vbuffer_alist); |
| 5402 | staticpro (&Qprotected_field); | ||
| 5403 | staticpro (&Qpermanent_local); | ||
| 5404 | staticpro (&Qkill_buffer_hook); | ||
| 5405 | 5400 | ||
| 5406 | DEFSYM (Qchoice, "choice"); | 5401 | DEFSYM (Qchoice, "choice"); |
| 5407 | DEFSYM (Qleft, "left"); | 5402 | DEFSYM (Qleft, "left"); |