changeset 57706:26ee7f4433d0

(Interactive Codes): Add U code letter.
author Kim F. Storm <storm@cua.dk>
date Tue, 26 Oct 2004 12:55:51 +0000
parents 804f28bbd89c
children e092a2ece99b
files lispref/commands.texi
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/commands.texi	Tue Oct 26 09:45:16 2004 +0000
+++ b/lispref/commands.texi	Tue Oct 26 12:55:51 2004 +0000
@@ -360,6 +360,9 @@
 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 @@
 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