Commit 96e8e603 authored by Gerd Moellmann's avatar Gerd Moellmann

(choose-completion-string): When not leaving the

minibuffer, raise the minibuffer frame when minibuffer-auto-raise
is set.
parent e1fbabaf
2001-03-08 Gerd Moellmann <gerd@gnu.org>
* simple.el (choose-completion-string): When not leaving the
minibuffer, raise the minibuffer frame when minibuffer-auto-raise
is set.
* window.el (shrink-window-if-larger-than-buffer): Handle frame
parameter `(minibuffer . t)'.
......
......@@ -3696,7 +3696,10 @@ With prefix argument N, move N items (negative N means move backward)."
;; is a directory, don't exit the minibuffer.
(if (and (eq minibuffer-completion-table 'read-file-name-internal)
(file-directory-p (field-string (point-max))))
(select-window (active-minibuffer-window))
(let ((mini (active-minibuffer-window)))
(select-window mini)
(when minibuffer-auto-raise
(raise-frame (window-frame mini))))
(exit-minibuffer))))))
(defun completion-list-mode ()
......
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