summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-01-26 01:56:29 +0000
committerJim Blandy <jimb@redhat.com>1993-01-26 01:56:29 +0000
commitd2cf404862d35167ac7245c10d3851070885b9b8 (patch)
tree64d296c69f9687c8e48c445669f9ef46beb39a69 /lisp/replace.el
parent363b33108d1ec84d9138461adff030e45a1f59d2 (diff)
downloademacs-d2cf404862d35167ac7245c10d3851070885b9b8.tar.gz
JimB's changes from January 18 to present
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 45326714469..daa9d728131 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -443,7 +443,8 @@ which will run faster and do exactly what you probably want."
(message "Query replacing %s with %s: " from-string next-replacement)
(setq char (read-event))
(if (and (numberp char) (= char ??))
- (setq unread-command-event help-char char help-char))))
+ (setq unread-command-events (list help-char)
+ char help-char))))
;; Restore the match data while we process the command.
(store-match-data real-match-data)
(cond ((or (= char ?\e)
@@ -498,7 +499,7 @@ which will run faster and do exactly what you probably want."
(setq replaced t))
(t
(setq keep-going nil)
- (setq unread-command-event char)
+ (setq unread-command-events (list char))
(setq done t))))
;; Record previous position for ^ when we move on.
;; Change markers to numbers in the match data