diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-03-15 01:57:05 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-03-15 01:57:05 +0000 |
commit | c20d1d0ab3edb9920fbece742fe9156108cdc797 (patch) | |
tree | 4cce03266cece0b92404af10bb1e04d5fe421bf9 /src/alloc.c | |
parent | d7235f9cdc29bf11da9f5b3777fd3d36c9192d81 (diff) | |
download | emacs-c20d1d0ab3edb9920fbece742fe9156108cdc797.tar.gz |
(mark_kboards): Renamed from mark_perdisplays.
Diffstat (limited to 'src/alloc.c')
-rw-r--r-- | src/alloc.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/alloc.c b/src/alloc.c index 3045e9cea53..e7416bf7f31 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -154,7 +154,7 @@ int stack_copy_size; /* Non-zero means ignore malloc warnings. Set during initialization. */ int ignore_warnings; -static void mark_object (), mark_buffer (), mark_perdisplays (); +static void mark_object (), mark_buffer (), mark_kboards (); static void clear_marks (), gc_sweep (); static void compact_strings (); @@ -1446,7 +1446,7 @@ Garbage collection happens automatically if you cons more than\n\ XMARK (backlist->args[i]); } } - mark_perdisplays (); + mark_kboards (); gc_sweep (); @@ -1763,7 +1763,7 @@ mark_object (objptr) case Lisp_Misc_Boolfwd: case Lisp_Misc_Objfwd: case Lisp_Misc_Buffer_Objfwd: - case Lisp_Misc_Display_Objfwd: + case Lisp_Misc_Kboard_Objfwd: /* Don't bother with Lisp_Buffer_Objfwd, since all markable slots in current buffer marked anyway. */ /* Don't need to do Lisp_Objfwd, since the places they point @@ -1868,18 +1868,18 @@ mark_buffer (buf) } -/* Mark the pointers in the perdisplay objects. */ +/* Mark the pointers in the kboard objects. */ static void -mark_perdisplays () +mark_kboards () { - PERDISPLAY *perd; - for (perd = all_perdisplays; perd; perd = perd->next_perdisplay) + KBOARD *kb; + for (kb = all_kboards; kb; kb = kb->next_kboard) { - mark_object (&perd->prefix_factor); - mark_object (&perd->prefix_value); - mark_object (&perd->kbd_queue); - mark_object (&perd->Vlast_kbd_macro); + mark_object (&kb->prefix_factor); + mark_object (&kb->prefix_value); + mark_object (&kb->kbd_queue); + mark_object (&kb->Vlast_kbd_macro); } } |