Variable: ido-everywhere-hook

ido-everywhere-hook is a customizable variable defined in ido.el.gz.

Value

nil

Documentation

Hook run after entering or leaving ido-everywhere(var)/ido-everywhere(fun).

No problems result if this variable is not bound. add-hook automatically binds it. (This is true for all hook variables.)

Source Code

;; Defined in /usr/src/emacs/lisp/ido.el.gz
(define-minor-mode ido-everywhere
  "Toggle use of Ido for all buffer/file reading."
  :global t
  (remove-function read-file-name-function #'ido-read-file-name)
  (remove-function read-buffer-function #'ido-read-buffer)
  (when (boundp 'ffap-file-finder)
    (remove-function ffap-file-finder #'ido-find-file)
    (when ido-mode
      (add-function :override ffap-file-finder #'ido-find-file)))
  (when ido-everywhere
    (if (not ido-mode)
        (ido-mode 'both)
      (add-function :override read-file-name-function #'ido-read-file-name)
      (add-function :override read-buffer-function #'ido-read-buffer))))