From: Richard M. Stallman Date: Thu, 19 Jan 2006 17:41:40 +0000 (+0000) Subject: (Fmap_keymap): Doc fix. X-Git-Tag: emacs-pretest-22.0.90~4689 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=05f5847bd2d121aa5b920bf08f12a80ef5b23327;p=emacs.git (Fmap_keymap): Doc fix. --- 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) } 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.