Mercurial > emacs
changeset 68264:d25897b05660
(Fmap_keymap): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 19 Jan 2006 17:41:40 +0000 |
parents | 06d1688690ad |
children | 9e0c23ab13f9 |
files | src/keymap.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keymap.c Thu Jan 19 17:40:50 2006 +0000 +++ b/src/keymap.c Thu Jan 19 17:41:40 2006 +0000 @@ -743,8 +743,10 @@ } DEFUN ("map-keymap", Fmap_keymap, Smap_keymap, 2, 3, 0, - doc: /* Call FUNCTION for every binding in KEYMAP. -FUNCTION is called with two arguments: the event and its binding. + doc: /* Call FUNCTION once for each binding in KEYMAP. +FUNCTION is called with two arguments: the event that is bound, and +the definition it is bound to. + If KEYMAP has a parent, the parent's bindings are included as well. This works recursively: if the parent has itself a parent, then the grandparent's bindings are also included and so on.