aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJim Blandy1992-11-16 01:40:51 +0000
committerJim Blandy1992-11-16 01:40:51 +0000
commitf4c7ad34bebaaed409e0169844a10bbdea03d80f (patch)
tree266092eddf36f773d37b2547d3805eb3aa5a8e43 /lisp
parent08ce70d1ab0a5bf81fd0074a6a5e54e1a4542149 (diff)
downloademacs-f4c7ad34bebaaed409e0169844a10bbdea03d80f.tar.gz
emacs-f4c7ad34bebaaed409e0169844a10bbdea03d80f.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. * replace.el (perform-replace): Same.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/replace.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index beee0df738a..45326714469 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -443,7 +443,7 @@ which will run faster and do exactly what you probably want."
443 (message "Query replacing %s with %s: " from-string next-replacement) 443 (message "Query replacing %s with %s: " from-string next-replacement)
444 (setq char (read-event)) 444 (setq char (read-event))
445 (if (and (numberp char) (= char ??)) 445 (if (and (numberp char) (= char ??))
446 (setq unread-command-char help-char char help-char)))) 446 (setq unread-command-event help-char char help-char))))
447 ;; Restore the match data while we process the command. 447 ;; Restore the match data while we process the command.
448 (store-match-data real-match-data) 448 (store-match-data real-match-data)
449 (cond ((or (= char ?\e) 449 (cond ((or (= char ?\e)
@@ -498,7 +498,7 @@ which will run faster and do exactly what you probably want."
498 (setq replaced t)) 498 (setq replaced t))
499 (t 499 (t
500 (setq keep-going nil) 500 (setq keep-going nil)
501 (setq unread-command-char char) 501 (setq unread-command-event char)
502 (setq done t)))) 502 (setq done t))))
503 ;; Record previous position for ^ when we move on. 503 ;; Record previous position for ^ when we move on.
504 ;; Change markers to numbers in the match data 504 ;; Change markers to numbers in the match data