(perform-replace): Obey minibuffer-auto-raise.
authorRichard M. Stallman <rms@gnu.org>
Sat, 7 Dec 1996 21:23:37 +0000 (21:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 7 Dec 1996 21:23:37 +0000 (21:23 +0000)
lisp/replace.el

index cc603d9..0991c41 100644 (file)
@@ -513,6 +513,8 @@ just as `query-replace' does.  Instead, write a simple loop like this:
     (replace-match \"foobar\" nil nil))
 which will run faster and probably do exactly what you want."
   (or map (setq map query-replace-map))
+  (and query-flag minibuffer-auto-raise
+       (raise-frame (window-frame (minibuffer-window))))
   (let ((nocasify (not (and case-fold-search case-replace
                            (string-equal from-string
                                          (downcase from-string)))))