(Fdescribe_buffer_bindings): Reload `translate'
authorKim F. Storm <storm@cua.dk>
Mon, 12 Sep 2005 10:26:35 +0000 (10:26 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 12 Sep 2005 10:26:35 +0000 (10:26 +0000)
after insert which runs signal_after_change.

src/keymap.c

index 9a3d9f2..f74ee61 100644 (file)
@@ -750,7 +750,7 @@ usage: (map-keymap FUNCTION KEYMAP)  */)
     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 @@ You type        Translation\n\
            insert (buf, bufend - buf);
 
            insert ("\n", 1);
+
+           /* Insert calls signal_after_change which may GC. */
+           translate = SDATA (Vkeyboard_translate_table);
          }
 
       insert ("\n", 1);