diff options
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 6 |
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 | ||
| 720 | DEFUN ("map-keymap", Fmap_keymap, Smap_keymap, 2, 3, 0, | 720 | DEFUN ("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. |
| 722 | FUNCTION is called with two arguments: the event and its binding. | 722 | FUNCTION is called with two arguments: the event that is bound, and |
| 723 | the definition it is bound to. | ||
| 724 | |||
| 723 | If KEYMAP has a parent, the parent's bindings are included as well. | 725 | If KEYMAP has a parent, the parent's bindings are included as well. |
| 724 | This works recursively: if the parent has itself a parent, then the | 726 | This works recursively: if the parent has itself a parent, then the |
| 725 | grandparent's bindings are also included and so on. | 727 | grandparent's bindings are also included and so on. |