]> code.delx.au - gnu-emacs/commitdiff
(syms_of_insdel): staticpro combine_after_change_buffer.
authorRichard M. Stallman <rms@gnu.org>
Sat, 23 Jul 2005 19:15:47 +0000 (19:15 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 23 Jul 2005 19:15:47 +0000 (19:15 +0000)
src/ChangeLog
src/insdel.c

index 1a08ec8c81e8aae496b8e202f80cc80c7de6bef7..c5053161c83b29c62eaac36fd692a68ad9eb03fc 100644 (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.
index 4760342c56ba77790432249a4fc7b6b706fa5969..49ff949ca4aafc8aa60aa810fb787aeb73f35e5a 100644 (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;