mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
(switch-to-completions): If no completions window,
don't try to switch to it.
This commit is contained in:
parent
afc070d1d4
commit
fdbd7c4d62
1 changed files with 6 additions and 4 deletions
|
|
@ -3609,10 +3609,12 @@ select the completion near point.\n\n"))
|
|||
;; Make sure we have a completions window.
|
||||
(or (get-buffer-window "*Completions*")
|
||||
(minibuffer-completion-help))
|
||||
(select-window (get-buffer-window "*Completions*"))
|
||||
(goto-char (point-min))
|
||||
(search-forward "\n\n")
|
||||
(forward-line 1))
|
||||
(let ((window (get-buffer-window "*Completions*")))
|
||||
(when window
|
||||
(select-window window)
|
||||
(goto-char (point-min))
|
||||
(search-forward "\n\n")
|
||||
(forward-line 1))))
|
||||
|
||||
;; Support keyboard commands to turn on various modifiers.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue