From: Dmitry Gutov Date: Sat, 7 May 2016 21:23:54 +0000 (+0300) Subject: Say 'All results processed' at the end X-Git-Tag: emacs-25.0.94~22 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cd27f73;p=emacs.git 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). --- 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." (setq pairs (cdr buf-pairs)) (setq continue (perform-replace from to t t nil nil multi-query-replace-map))) - (unless did-it-once (user-error "No suitable matches here")))) + (unless did-it-once (user-error "No suitable matches here")) + (when (and continue (not buf-pairs)) + (message "All results processed")))) (defvar xref--xref-buffer-mode-map (let ((map (make-sparse-keymap)))