# HG changeset patch # User Kim F. Storm # Date 1098795351 0 # Node ID 26ee7f4433d0b4324e360d9c80f041fc8f1eda3b # Parent 804f28bbd89c33e875a6fa0f56e8fb2720fecd59 (Interactive Codes): Add U code letter. diff -r 804f28bbd89c -r 26ee7f4433d0 lispref/commands.texi --- 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