1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-08 15:35:02 +00:00

(syms_of_insdel): staticpro combine_after_change_buffer.

This commit is contained in:
Richard M. Stallman 2005-07-23 19:15:47 +00:00
parent 3414f2d82b
commit bf0bf758f6
2 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,25 @@
2005-07-23 Richard M. Stallman <rms@gnu.org>
* insdel.c (syms_of_insdel): staticpro combine_after_change_buffer.
* bytecode.c (MAYBE_GC): Test gc_cons_threshold and
gc_relative_threshold, one by one.
* keyboard.c (read_char): Test gc_cons_threshold.
(syms_of_keyboard): staticpro Qecho_area_clear_hook.
* eval.c (Feval, Ffuncall): Test gc_cons_threshold and
gc_relative_threshold, one by one.
* alloc.c (gc_cons_threshold): Not static.
(gc_cons_combined_threshold): Var deleted.
(gc_relative_threshold): New variable.
(Fgarbage_collect, init_alloc_once): Compute gc_relative_threshold
instead of gc_cons_combined_threshold.
* lisp.h (gc_cons_threshold, gc_relative_threshold): Declared.
(gc_cons_combined_threshold): Declaration deleted.
2005-07-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* mac.c: Don't include stdlib.h or string.h.

View File

@ -2393,6 +2393,7 @@ void
syms_of_insdel ()
{
staticpro (&combine_after_change_list);
staticpro (&combine_after_change_buffer);
combine_after_change_list = Qnil;
combine_after_change_buffer = Qnil;