From addcdb7c896531eeda9ec1c1672536780fde032c Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 19 Dec 2005 15:46:13 +0000 Subject: [PATCH] (Vfunction_key_map): Docstring fix: mention that bindings can be functions. --- src/keymap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/keymap.c b/src/keymap.c index 4583d3121df..74a1cc15024 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -3851,6 +3851,9 @@ keymaps have no binding for the current key sequence but `read-key-sequence' replaces the matching suffix with its binding, and continues with the new sequence. +If the binding is a function, it is called with one argument (the prompt) +and its return value (a key sequence) is used. + The events that come from bindings in `function-key-map' are not themselves looked up in `function-key-map'. -- 2.39.2