changeset 11593:f5385353aae3

(mark_kboards): Mark the kbd macro and Vsystem_key_alist.
author Karl Heuer <kwzh@gnu.org>
date Tue, 25 Apr 1995 23:47:55 +0000
parents 030e5a06a38a
children ddef149290ed
files src/alloc.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Tue Apr 25 22:33:23 1995 +0000
+++ b/src/alloc.c	Tue Apr 25 23:47:55 1995 +0000
@@ -1885,12 +1885,17 @@
 mark_kboards ()
 {
   KBOARD *kb;
+  Lisp_Object *p;
   for (kb = all_kboards; kb; kb = kb->next_kboard)
     {
+      if (kb->kbd_macro_buffer)
+	for (p = kb->kbd_macro_buffer; p < kb->kbd_macro_ptr; p++)
+	  mark_object (p);
       mark_object (&kb->prefix_factor);
       mark_object (&kb->prefix_value);
       mark_object (&kb->kbd_queue);
       mark_object (&kb->Vlast_kbd_macro);
+      mark_object (&kb->Vsystem_key_alist);
     }
 }