aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/keymap.c b/src/keymap.c
index e8f2f88bb26..2a03dda5a5e 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -2571,7 +2571,8 @@ where_is_internal (Lisp_Object definition, Lisp_Object keymaps,
2571DEFUN ("where-is-internal", Fwhere_is_internal, Swhere_is_internal, 1, 5, 0, 2571DEFUN ("where-is-internal", Fwhere_is_internal, Swhere_is_internal, 1, 5, 0,
2572 doc: /* Return list of keys that invoke DEFINITION. 2572 doc: /* Return list of keys that invoke DEFINITION.
2573If KEYMAP is a keymap, search only KEYMAP and the global keymap. 2573If KEYMAP is a keymap, search only KEYMAP and the global keymap.
2574If KEYMAP is nil, search all the currently active keymaps. 2574If KEYMAP is nil, search all the currently active keymaps, except
2575 for `overriding-local-map' (which is ignored).
2575If KEYMAP is a list of keymaps, search only those keymaps. 2576If KEYMAP is a list of keymaps, search only those keymaps.
2576 2577
2577If optional 3rd arg FIRSTONLY is non-nil, return the first key sequence found, 2578If optional 3rd arg FIRSTONLY is non-nil, return the first key sequence found,
@@ -2586,9 +2587,17 @@ If optional 4th arg NOINDIRECT is non-nil, don't follow indirections
2586to other keymaps or slots. This makes it possible to search for an 2587to other keymaps or slots. This makes it possible to search for an
2587indirect definition itself. 2588indirect definition itself.
2588 2589
2589If optional 5th arg NO-REMAP is non-nil, don't search for key sequences 2590The optional 5th arg NO-REMAP alters how command remapping is handled:
2590that invoke a command which is remapped to DEFINITION, but include the 2591
2591remapped command in the returned list. */) 2592- If another command OTHER-COMMAND is remapped to DEFINITION, normally
2593 search for the bindings of OTHER-COMMAND and include them in the
2594 returned list. But if NO-REMAP is non-nil, include the vector
2595 [remap OTHER-COMMAND] in the returned list instead, without
2596 searching for those other bindings.
2597
2598- If DEFINITION is remapped to OTHER-COMMAND, normally return the
2599 bindings for OTHER-COMMAND. But if NO-REMAP is non-nil, return the
2600 bindings for DEFINITION instead, ignoring its remapping. */)
2592 (Lisp_Object definition, Lisp_Object keymap, Lisp_Object firstonly, Lisp_Object noindirect, Lisp_Object no_remap) 2601 (Lisp_Object definition, Lisp_Object keymap, Lisp_Object firstonly, Lisp_Object noindirect, Lisp_Object no_remap)
2593{ 2602{
2594 /* The keymaps in which to search. */ 2603 /* The keymaps in which to search. */