changeset 12261:cd2e7821bbf5

(Fsubstitute_command_keys): Check Voverriding_terminal_local_map before Voverriding_local_map.
author Karl Heuer <kwzh@gnu.org>
date Fri, 16 Jun 1995 05:19:43 +0000
parents 5b8203bdfd6a
children a7d5578ebb25
files src/doc.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/doc.c	Fri Jun 16 05:13:01 1995 +0000
+++ b/src/doc.c	Fri Jun 16 05:19:43 1995 +0000
@@ -553,7 +553,9 @@
      or a specified local map (which means search just that and the
      global map).  If non-nil, it might come from Voverriding_local_map,
      or from a \\<mapname> construct in STR itself..  */
-  keymap = Voverriding_local_map;
+  keymap = current_kboard->Voverriding_terminal_local_map;
+  if (NILP (keymap))
+    keymap = Voverriding_local_map;
 
   bsize = XSTRING (str)->size;
   bufp = buf = (unsigned char *) xmalloc (bsize);