aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 07bf957cdca..31f80a2593a 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -718,8 +718,10 @@ map_keymap_call (key, val, fun, dummy)
718} 718}
719 719
720DEFUN ("map-keymap", Fmap_keymap, Smap_keymap, 2, 3, 0, 720DEFUN ("map-keymap", Fmap_keymap, Smap_keymap, 2, 3, 0,
721 doc: /* Call FUNCTION for every binding in KEYMAP. 721 doc: /* Call FUNCTION once for each binding in KEYMAP.
722FUNCTION is called with two arguments: the event and its binding. 722FUNCTION is called with two arguments: the event that is bound, and
723the definition it is bound to.
724
723If KEYMAP has a parent, the parent's bindings are included as well. 725If KEYMAP has a parent, the parent's bindings are included as well.
724This works recursively: if the parent has itself a parent, then the 726This works recursively: if the parent has itself a parent, then the
725grandparent's bindings are also included and so on. 727grandparent's bindings are also included and so on.