Function: ido-switch-to-completions
ido-switch-to-completions is an interactive and byte-compiled function
defined in ido.el.gz.
Signature
(ido-switch-to-completions)
Documentation
Select the window showing ido-completion-buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/ido.el.gz
;; This is a shameless copy of `switch-to-completions'.
(defun ido-switch-to-completions ()
"Select the window showing `ido-completion-buffer'."
(interactive)
(let ((window (or (get-buffer-window ido-completion-buffer 0)
;; Make sure we have a completions window.
(progn (ido-completion-help)
(get-buffer-window ido-completion-buffer 0)))))
(when window
(select-window window)
;; In the new buffer, go to the first completion.
;; FIXME: Perhaps this should be done in `ido-completion-help'.
(when (bobp)
(first-completion)))))