Variable: ido-mode

ido-mode is a customizable variable defined in ido.el.gz.

Value

nil

Documentation

Determines for which buffer/file Ido should be enabled.

The following values are possible:
- buffer: Turn only on Ido buffer behavior (switching, killing,
  displaying...)
- file: Turn only on Ido file behavior (finding, writing, inserting...)
- both: Turn on Ido buffer and file behavior.
- nil: Turn off any Ido switching.

Setting this variable directly does not take effect; use either M-x customize (customize) or the function ido-mode(var)/ido-mode(fun).

Probably introduced at or before Emacs version 27.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/ido.el.gz
;;;###autoload
(defcustom ido-mode nil
  "Determines for which buffer/file Ido should be enabled.
The following values are possible:
- `buffer': Turn only on Ido buffer behavior (switching, killing,
  displaying...)
- `file': Turn only on Ido file behavior (finding, writing, inserting...)
- `both': Turn on Ido buffer and file behavior.
-  nil: Turn off any Ido switching.

Setting this variable directly does not take effect;
use either \\[customize] or the function `ido-mode'."
  :set (lambda (_symbol value)
         (ido-mode (or value 0)))
  :initialize #'custom-initialize-default
  :require 'ido
  :link '(emacs-commentary-link "ido.el")
  :set-after '(ido-save-directory-list-file
	       ;; This will clear ido-unc-hosts-cache, so set it
	       ;; before loading history file.
	       ido-unc-hosts)
  :type '(choice (const :tag "Turn on only buffer" buffer)
                 (const :tag "Turn on only file" file)
                 (const :tag "Turn on both buffer and file" both)
                 (const :tag "Switch off all" nil)))