diff options
author | Jim Blandy <[email protected]> | 1992-11-16 01:43:35 +0000 |
---|---|---|
committer | Jim Blandy <[email protected]> | 1992-11-16 01:43:35 +0000 |
commit | eec38fabdd26966aa7dd857d4375fc8e54317d6e (patch) | |
tree | e833f1f66baaa6b768eb5cc24130a87cd391bb64 /lisp/term | |
parent | d77c36e8803c79e414fe9991e19e01945d6bb5ac (diff) |
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* sun-mouse.el (mouse-second-hit): Same.
Diffstat (limited to 'lisp/term')
-rw-r--r-- | lisp/term/sun-mouse.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/term/sun-mouse.el b/lisp/term/sun-mouse.el index 0ed1c3360a..282225ea4e 100644 --- a/lisp/term/sun-mouse.el +++ b/lisp/term/sun-mouse.el @@ -318,12 +318,12 @@ but that uses minibuffer, and mucks up last-command." (let ((pc1 (read-char))) (if (or (not (equal pc1 mouse-prefix1)) (sit-for-millisecs 3)) ; a mouse prefix will have second char - (progn (setq unread-command-char pc1) ; Can get away with one unread. + (progn (setq unread-command-event pc1) ; Can get away with one unread. nil) ; Next input not mouse event. (let ((pc2 (read-char))) (if (not (equal pc2 mouse-prefix2)) - (progn (setq unread-command-char pc1) ; put back the ^X -;;; Too bad can't do two: (setq unread-command-char (list pc1 pc2)) + (progn (setq unread-command-event pc1) ; put back the ^X +;;; Too bad can't do two: (setq unread-command-event (list pc1 pc2)) (ding) ; user will have to retype that pc2. nil) ; This input is not a mouse event. ;; Next input has mouse prefix and is within time limit. |