From 05f5847bd2d121aa5b920bf08f12a80ef5b23327 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 19 Jan 2006 17:41:40 +0000 Subject: [PATCH] (Fmap_keymap): Doc fix. --- src/keymap.c | 6 ++++-- 1 file 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) } 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. -- 2.39.2