diff options
| author | Jim Blandy | 1992-11-16 01:43:35 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-11-16 01:43:35 +0000 |
| commit | eec38fabdd26966aa7dd857d4375fc8e54317d6e (patch) | |
| tree | e833f1f66baaa6b768eb5cc24130a87cd391bb64 | |
| parent | d77c36e8803c79e414fe9991e19e01945d6bb5ac (diff) | |
| download | emacs-eec38fabdd26966aa7dd857d4375fc8e54317d6e.tar.gz emacs-eec38fabdd26966aa7dd857d4375fc8e54317d6e.zip | |
* 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.
| -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 0ed1c3360a8..282225ea4e3 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." | |||
| 318 | (let ((pc1 (read-char))) | 318 | (let ((pc1 (read-char))) |
| 319 | (if (or (not (equal pc1 mouse-prefix1)) | 319 | (if (or (not (equal pc1 mouse-prefix1)) |
| 320 | (sit-for-millisecs 3)) ; a mouse prefix will have second char | 320 | (sit-for-millisecs 3)) ; a mouse prefix will have second char |
| 321 | (progn (setq unread-command-char pc1) ; Can get away with one unread. | 321 | (progn (setq unread-command-event pc1) ; Can get away with one unread. |
| 322 | nil) ; Next input not mouse event. | 322 | nil) ; Next input not mouse event. |
| 323 | (let ((pc2 (read-char))) | 323 | (let ((pc2 (read-char))) |
| 324 | (if (not (equal pc2 mouse-prefix2)) | 324 | (if (not (equal pc2 mouse-prefix2)) |
| 325 | (progn (setq unread-command-char pc1) ; put back the ^X | 325 | (progn (setq unread-command-event pc1) ; put back the ^X |
| 326 | ;;; Too bad can't do two: (setq unread-command-char (list pc1 pc2)) | 326 | ;;; Too bad can't do two: (setq unread-command-event (list pc1 pc2)) |
| 327 | (ding) ; user will have to retype that pc2. | 327 | (ding) ; user will have to retype that pc2. |
| 328 | nil) ; This input is not a mouse event. | 328 | nil) ; This input is not a mouse event. |
| 329 | ;; Next input has mouse prefix and is within time limit. | 329 | ;; Next input has mouse prefix and is within time limit. |