]> code.delx.au - gnu-emacs/blobdiff - src/keymap.c
(Vfunction_key_map): Docstring fix: mention that bindings can be functions.
[gnu-emacs] / src / keymap.c
index 4583d3121df70cebf126dc68b54d97bce4252cd1..74a1cc1502407b0ece81eaccebe27d25c0b77466 100644 (file)
@@ -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'.