aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-12-07 21:23:37 +0000
committerRichard M. Stallman1996-12-07 21:23:37 +0000
commit1c1dadabf3268c41a7f5e9584d208eeb207f100b (patch)
tree7019e27a92b057cff462db8b714394c607240370
parent1d2517f2edd5f4d6978294ee43b7d55384c133ef (diff)
downloademacs-1c1dadabf3268c41a7f5e9584d208eeb207f100b.tar.gz
emacs-1c1dadabf3268c41a7f5e9584d208eeb207f100b.zip
(perform-replace): Obey minibuffer-auto-raise.
-rw-r--r--lisp/replace.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index cc603d96c0b..0991c41ab52 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -513,6 +513,8 @@ just as `query-replace' does. Instead, write a simple loop like this:
513 (replace-match \"foobar\" nil nil)) 513 (replace-match \"foobar\" nil nil))
514which will run faster and probably do exactly what you want." 514which will run faster and probably do exactly what you want."
515 (or map (setq map query-replace-map)) 515 (or map (setq map query-replace-map))
516 (and query-flag minibuffer-auto-raise
517 (raise-frame (window-frame (minibuffer-window))))
516 (let ((nocasify (not (and case-fold-search case-replace 518 (let ((nocasify (not (and case-fold-search case-replace
517 (string-equal from-string 519 (string-equal from-string
518 (downcase from-string))))) 520 (downcase from-string)))))