aboutsummaryrefslogtreecommitdiffstats
path: root/lispref/commands.texi
diff options
context:
space:
mode:
authorKim F. Storm <[email protected]>2004-10-26 12:55:51 +0000
committerKim F. Storm <[email protected]>2004-10-26 12:55:51 +0000
commit3baa952d8bd2d0ad1587440a559ae10616ea2a4e (patch)
treec1c3d9fa566c811decc5bc768d079e1c73258dc0 /lispref/commands.texi
parent5629f29b3c29cfa95896f1df2ed357b4d8fa7473 (diff)
(Interactive Codes): Add U code letter.
Diffstat (limited to 'lispref/commands.texi')
-rw-r--r--lispref/commands.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/lispref/commands.texi b/lispref/commands.texi
index 299c7bb61a..cb772ff6eb 100644
--- a/lispref/commands.texi
+++ b/lispref/commands.texi
@@ -360,6 +360,9 @@ until a command (or undefined command) is found in the current key
maps. The key sequence argument is represented as a string or vector.
The cursor does not move into the echo area. Prompt.
+If the key sequence is a down-event, the following up-event is discarded,
+but can be read via the @code{U} code character.
+
This kind of input is used by commands such as @code{describe-key} and
@code{global-set-key}.
@@ -416,6 +419,11 @@ character terminates the input. (Use @kbd{C-q} to include whitespace in
the string.) Other characters that normally terminate a symbol (e.g.,
parentheses and brackets) do not do so here. Prompt.
+@item U
+A key sequence or nil. May be used after a @code{k} or @code{K}
+argument to get the up-event that was discarded in case the key
+sequence read for that argument was a down-event. No I/O.
+
@item v
A variable declared to be a user option (i.e., satisfying the
predicate @code{user-variable-p}). This reads the variable using