Mercurial > emacs
changeset 13582:3c46cfae4391
(Fexecute_extended_command):
Call Fwhere_is_internal just once to handle all the maps.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 18 Nov 1995 15:58:54 +0000 |
parents | e69e87bdc813 |
children | 8ee401a7aeec |
files | src/keyboard.c |
diffstat | 1 files changed, 4 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Sat Nov 18 15:57:50 1995 +0000 +++ b/src/keyboard.c Sat Nov 18 15:58:54 1995 +0000 @@ -6565,16 +6565,10 @@ if (!NILP (Vsuggest_key_bindings) && SYMBOLP (function)) { - Lisp_Object *maps, bindings; - int nmaps, i; - - bindings = Qnil; - nmaps = current_active_maps (&maps); - - for (i = 0; i < nmaps && NILP (bindings); i++) - bindings = Fwhere_is_internal (function, maps[i], Qt, Qnil); - - free (maps); + Lisp_Object bindings; + + bindings = Fwhere_is_internal (function, Voverriding_local_map, + Qt, Qnil); if (!NILP (bindings)) {