Function: tmm-goto-completions
tmm-goto-completions is an interactive and byte-compiled function
defined in tmm.el.gz.
Signature
(tmm-goto-completions)
Documentation
Jump to the completions buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/tmm.el.gz
(defun tmm-goto-completions ()
"Jump to the completions buffer."
(interactive)
(let ((prompt-end (minibuffer-prompt-end)))
(setq tmm-c-prompt (buffer-substring prompt-end (point-max)))
;; FIXME: Why?
(delete-region prompt-end (point-max)))
(switch-to-buffer-other-window "*Completions*")
(search-forward tmm-c-prompt)
(search-backward tmm-c-prompt))