# HG changeset patch # User Stefan Monnier # Date 1135007173 0 # Node ID e7b90ba8a38a41bf62d0c9618a3ff006318f1601 # Parent 947510e650200ee5b214169f8d560508076a0488 (Vfunction_key_map): Docstring fix: mention that bindings can be functions. diff -r 947510e65020 -r e7b90ba8a38a src/keymap.c --- a/src/keymap.c Mon Dec 19 14:30:56 2005 +0000 +++ b/src/keymap.c Mon Dec 19 15:46:13 2005 +0000 @@ -3851,6 +3851,9 @@ `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'.