changeset 65456:d9638b932900

(Fdescribe_buffer_bindings): Reload `translate' after insert which runs signal_after_change.
author Kim F. Storm <storm@cua.dk>
date Mon, 12 Sep 2005 10:26:35 +0000
parents 51d3a3f03a8a
children da27b91068ae
files src/keymap.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keymap.c	Mon Sep 12 10:26:15 2005 +0000
+++ b/src/keymap.c	Mon Sep 12 10:26:35 2005 +0000
@@ -750,7 +750,7 @@
     Fsignal (Qinvalid_function, Fcons (function, Qnil));
   if (! NILP (sort_first))
     return call3 (intern ("map-keymap-internal"), function, keymap, Qt);
-      
+
   map_keymap (keymap, map_keymap_call, function, NULL, 1);
   return Qnil;
 }
@@ -2844,6 +2844,9 @@
 	    insert (buf, bufend - buf);
 
 	    insert ("\n", 1);
+
+	    /* Insert calls signal_after_change which may GC. */
+	    translate = SDATA (Vkeyboard_translate_table);
 	  }
 
       insert ("\n", 1);