aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keymap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 8f462b3af73..0c44a112e01 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -743,8 +743,10 @@ map_keymap_call (key, val, fun, dummy)
743} 743}
744 744
745DEFUN ("map-keymap", Fmap_keymap, Smap_keymap, 2, 3, 0, 745DEFUN ("map-keymap", Fmap_keymap, Smap_keymap, 2, 3, 0,
746 doc: /* Call FUNCTION for every binding in KEYMAP. 746 doc: /* Call FUNCTION once for each binding in KEYMAP.
747FUNCTION is called with two arguments: the event and its binding. 747FUNCTION is called with two arguments: the event that is bound, and
748the definition it is bound to.
749
748If KEYMAP has a parent, the parent's bindings are included as well. 750If KEYMAP has a parent, the parent's bindings are included as well.
749This works recursively: if the parent has itself a parent, then the 751This works recursively: if the parent has itself a parent, then the
750grandparent's bindings are also included and so on. 752grandparent's bindings are also included and so on.