comparison src/doc.c @ 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 73f8dc6f0622
children 23281af757c9
comparison
equal deleted inserted replaced
12260:5b8203bdfd6a 12261:cd2e7821bbf5
551 551
552 /* KEYMAP is either nil (which means search all the active keymaps) 552 /* KEYMAP is either nil (which means search all the active keymaps)
553 or a specified local map (which means search just that and the 553 or a specified local map (which means search just that and the
554 global map). If non-nil, it might come from Voverriding_local_map, 554 global map). If non-nil, it might come from Voverriding_local_map,
555 or from a \\<mapname> construct in STR itself.. */ 555 or from a \\<mapname> construct in STR itself.. */
556 keymap = Voverriding_local_map; 556 keymap = current_kboard->Voverriding_terminal_local_map;
557 if (NILP (keymap))
558 keymap = Voverriding_local_map;
557 559
558 bsize = XSTRING (str)->size; 560 bsize = XSTRING (str)->size;
559 bufp = buf = (unsigned char *) xmalloc (bsize); 561 bufp = buf = (unsigned char *) xmalloc (bsize);
560 562
561 strp = (unsigned char *) XSTRING (str)->data; 563 strp = (unsigned char *) XSTRING (str)->data;