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 b09358dbbcb..fa64e88d6e5 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -736,8 +736,10 @@ map_keymap_call (key, val, fun, dummy) | |||
| 736 | } | 736 | } |
| 737 | 737 | ||
| 738 | DEFUN ("map-keymap", Fmap_keymap, Smap_keymap, 2, 3, 0, | 738 | DEFUN ("map-keymap", Fmap_keymap, Smap_keymap, 2, 3, 0, |
| 739 | doc: /* Call FUNCTION for every binding in KEYMAP. | 739 | doc: /* Call FUNCTION once for each event binding in KEYMAP. |
| 740 | FUNCTION is called with two arguments: the event and its binding. | 740 | FUNCTION is called with two arguments: the event that is bound, and |
| 741 | the definition it is bound to. | ||
| 742 | |||
| 741 | If KEYMAP has a parent, the parent's bindings are included as well. | 743 | If KEYMAP has a parent, the parent's bindings are included as well. |
| 742 | This works recursively: if the parent has itself a parent, then the | 744 | This works recursively: if the parent has itself a parent, then the |
| 743 | grandparent's bindings are also included and so on. | 745 | grandparent's bindings are also included and so on. |