Commit cd7320d4 authored by Juanma Barranquero's avatar Juanma Barranquero

(server-visit-files): If `minibuffer-auto-raise' has been set to t, respect it.

parent 9fc91759
......@@ -511,7 +511,8 @@ so don't mark these buffers specially, just visit them normally."
;; If there is an existing buffer modified or the file is
;; modified, revert it. If there is an existing buffer with
;; deleted file, offer to write it.
(let* ((minibuffer-auto-raise server-raise-frame)
(let* ((minibuffer-auto-raise (or server-raise-frame
minibuffer-auto-raise))
(filen (car file))
(obuf (get-file-buffer filen)))
(add-to-history 'file-name-history filen)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment