Function: ido-take-first-match

ido-take-first-match is an interactive and byte-compiled function defined in ido.el.gz.

Signature

(ido-take-first-match)

Documentation

Use first matching item as input text.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/ido.el.gz
(defun ido-take-first-match ()
  "Use first matching item as input text."
  (interactive)
  (when ido-matches
    (setq ido-text-init (ido-name (car ido-matches)))
    (setq ido-exit 'refresh)
    (exit-minibuffer)))