aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2016-05-08 00:23:54 +0300
committerDmitry Gutov2016-05-08 00:29:44 +0300
commitcd27f7396b77086b6c02eff5b2648bfba439d264 (patch)
tree06de3f787b36640ce7cc35e10dbcc41ff1be577e
parent4ffec91aa1fe668609f460cf6377644597c23306 (diff)
downloademacs-cd27f7396b77086b6c02eff5b2648bfba439d264.tar.gz
emacs-cd27f7396b77086b6c02eff5b2648bfba439d264.zip
Say 'All results processed' at the end
* lisp/progmodes/xref.el (xref--query-replace-1): Say 'All results processed' at the end if the user hadn't cancelled the process (bug#23284).
-rw-r--r--lisp/progmodes/xref.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index f651dc9cd18..05cd97932a3 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -624,7 +624,9 @@ references displayed in the current *xref* buffer."
624 (setq pairs (cdr buf-pairs)) 624 (setq pairs (cdr buf-pairs))
625 (setq continue 625 (setq continue
626 (perform-replace from to t t nil nil multi-query-replace-map))) 626 (perform-replace from to t t nil nil multi-query-replace-map)))
627 (unless did-it-once (user-error "No suitable matches here")))) 627 (unless did-it-once (user-error "No suitable matches here"))
628 (when (and continue (not buf-pairs))
629 (message "All results processed"))))
628 630
629(defvar xref--xref-buffer-mode-map 631(defvar xref--xref-buffer-mode-map
630 (let ((map (make-sparse-keymap))) 632 (let ((map (make-sparse-keymap)))