aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorGerd Moellmann2001-03-08 15:47:58 +0000
committerGerd Moellmann2001-03-08 15:47:58 +0000
commit96e8e603941652d417b4da35600dfe235e0fbd0c (patch)
tree2420ae2c5d7a6f01e77e7feeac2ddbce5d0772a0 /lisp/simple.el
parente1fbabaf4d5e85b3f26bc964a5e41bf1c642fb3b (diff)
downloademacs-96e8e603941652d417b4da35600dfe235e0fbd0c.tar.gz
emacs-96e8e603941652d417b4da35600dfe235e0fbd0c.zip
(choose-completion-string): When not leaving the
minibuffer, raise the minibuffer frame when minibuffer-auto-raise is set.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 510c07e8ddc..0e458e6a105 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3696,7 +3696,10 @@ With prefix argument N, move N items (negative N means move backward)."
3696 ;; is a directory, don't exit the minibuffer. 3696 ;; is a directory, don't exit the minibuffer.
3697 (if (and (eq minibuffer-completion-table 'read-file-name-internal) 3697 (if (and (eq minibuffer-completion-table 'read-file-name-internal)
3698 (file-directory-p (field-string (point-max)))) 3698 (file-directory-p (field-string (point-max))))
3699 (select-window (active-minibuffer-window)) 3699 (let ((mini (active-minibuffer-window)))
3700 (select-window mini)
3701 (when minibuffer-auto-raise
3702 (raise-frame (window-frame mini))))
3700 (exit-minibuffer)))))) 3703 (exit-minibuffer))))))
3701 3704
3702(defun completion-list-mode () 3705(defun completion-list-mode ()