changeset 67674:e7b90ba8a38a

(Vfunction_key_map): Docstring fix: mention that bindings can be functions.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 19 Dec 2005 15:46:13 +0000
parents 947510e65020
children 131310d593c0
files src/keymap.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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'.