diff options
Diffstat (limited to 'src')
| -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 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 | ||
| 745 | DEFUN ("map-keymap", Fmap_keymap, Smap_keymap, 2, 3, 0, | 745 | DEFUN ("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. |
| 747 | FUNCTION is called with two arguments: the event and its binding. | 747 | FUNCTION is called with two arguments: the event that is bound, and |
| 748 | the definition it is bound to. | ||
| 749 | |||
| 748 | If KEYMAP has a parent, the parent's bindings are included as well. | 750 | If KEYMAP has a parent, the parent's bindings are included as well. |
| 749 | This works recursively: if the parent has itself a parent, then the | 751 | This works recursively: if the parent has itself a parent, then the |
| 750 | grandparent's bindings are also included and so on. | 752 | grandparent's bindings are also included and so on. |