aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorKim F. Storm2004-10-26 12:55:51 +0000
committerKim F. Storm2004-10-26 12:55:51 +0000
commit3baa952d8bd2d0ad1587440a559ae10616ea2a4e (patch)
treec1c3d9fa566c811decc5bc768d079e1c73258dc0 /lispref
parent5629f29b3c29cfa95896f1df2ed357b4d8fa7473 (diff)
downloademacs-3baa952d8bd2d0ad1587440a559ae10616ea2a4e.tar.gz
emacs-3baa952d8bd2d0ad1587440a559ae10616ea2a4e.zip
(Interactive Codes): Add U code letter.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/commands.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/lispref/commands.texi b/lispref/commands.texi
index 299c7bb61af..cb772ff6eb5 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
360maps. The key sequence argument is represented as a string or vector. 360maps. The key sequence argument is represented as a string or vector.
361The cursor does not move into the echo area. Prompt. 361The cursor does not move into the echo area. Prompt.
362 362
363If the key sequence is a down-event, the following up-event is discarded,
364but can be read via the @code{U} code character.
365
363This kind of input is used by commands such as @code{describe-key} and 366This kind of input is used by commands such as @code{describe-key} and
364@code{global-set-key}. 367@code{global-set-key}.
365 368
@@ -416,6 +419,11 @@ character terminates the input. (Use @kbd{C-q} to include whitespace in
416the string.) Other characters that normally terminate a symbol (e.g., 419the string.) Other characters that normally terminate a symbol (e.g.,
417parentheses and brackets) do not do so here. Prompt. 420parentheses and brackets) do not do so here. Prompt.
418 421
422@item U
423A key sequence or nil. May be used after a @code{k} or @code{K}
424argument to get the up-event that was discarded in case the key
425sequence read for that argument was a down-event. No I/O.
426
419@item v 427@item v
420A variable declared to be a user option (i.e., satisfying the 428A variable declared to be a user option (i.e., satisfying the
421predicate @code{user-variable-p}). This reads the variable using 429predicate @code{user-variable-p}). This reads the variable using