# HG changeset patch # User Richard M. Stallman # Date 1137692500 0 # Node ID d25897b05660b7d7a4ace28c28dbfe91072b74ae # Parent 06d1688690ad6b40a23058f9af65dc6dd49ac945 (Fmap_keymap): Doc fix. diff -r 06d1688690ad -r d25897b05660 src/keymap.c --- 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.