diff options
| author | Gerd Moellmann | 2001-03-08 15:47:58 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-03-08 15:47:58 +0000 |
| commit | 96e8e603941652d417b4da35600dfe235e0fbd0c (patch) | |
| tree | 2420ae2c5d7a6f01e77e7feeac2ddbce5d0772a0 | |
| parent | e1fbabaf4d5e85b3f26bc964a5e41bf1c642fb3b (diff) | |
| download | emacs-96e8e603941652d417b4da35600dfe235e0fbd0c.tar.gz emacs-96e8e603941652d417b4da35600dfe235e0fbd0c.zip | |
(choose-completion-string): When not leaving the
minibuffer, raise the minibuffer frame when minibuffer-auto-raise
is set.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/simple.el | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2b7987e4433..0c3172cddc1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2001-03-08 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-03-08 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * simple.el (choose-completion-string): When not leaving the | ||
| 4 | minibuffer, raise the minibuffer frame when minibuffer-auto-raise | ||
| 5 | is set. | ||
| 6 | |||
| 3 | * window.el (shrink-window-if-larger-than-buffer): Handle frame | 7 | * window.el (shrink-window-if-larger-than-buffer): Handle frame |
| 4 | parameter `(minibuffer . t)'. | 8 | parameter `(minibuffer . t)'. |
| 5 | 9 | ||
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 () |