Variable: ido-enter-matching-directory

ido-enter-matching-directory is a customizable variable defined in ido.el.gz.

Value

only

Documentation

Additional methods to enter sub-directory of first/only matching item.

If value is first, enter first matching sub-directory when typing a slash. If value is only, typing a slash only enters the sub-directory if it is the only matching item. If value is t, automatically enter a sub-directory when it is the only matching item, even without typing a slash.

Source Code

;; Defined in /usr/src/emacs/lisp/ido.el.gz
(defcustom ido-enter-matching-directory 'only
  "Additional methods to enter sub-directory of first/only matching item.
If value is `first', enter first matching sub-directory when typing a slash.
If value is `only', typing a slash only enters the sub-directory if it is
the only matching item.
If value is t, automatically enter a sub-directory when it is the only
matching item, even without typing a slash."
  :type '(choice (const :tag "Never" nil)
		 (const :tag "Slash enters first directory" first)
		 (const :tag "Slash enters first and only directory" only)
		 (other :tag "Always enter unique directory" t)))