diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/simple.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index fcb53009dff..944f8e9e0e0 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -3609,10 +3609,12 @@ select the completion near point.\n\n")) | |||
| 3609 | ;; Make sure we have a completions window. | 3609 | ;; Make sure we have a completions window. |
| 3610 | (or (get-buffer-window "*Completions*") | 3610 | (or (get-buffer-window "*Completions*") |
| 3611 | (minibuffer-completion-help)) | 3611 | (minibuffer-completion-help)) |
| 3612 | (select-window (get-buffer-window "*Completions*")) | 3612 | (let ((window (get-buffer-window "*Completions*"))) |
| 3613 | (goto-char (point-min)) | 3613 | (when window |
| 3614 | (search-forward "\n\n") | 3614 | (select-window window) |
| 3615 | (forward-line 1)) | 3615 | (goto-char (point-min)) |
| 3616 | (search-forward "\n\n") | ||
| 3617 | (forward-line 1)))) | ||
| 3616 | 3618 | ||
| 3617 | ;; Support keyboard commands to turn on various modifiers. | 3619 | ;; Support keyboard commands to turn on various modifiers. |
| 3618 | 3620 | ||