Function: ido-may-cache-directory

ido-may-cache-directory is a byte-compiled function defined in ido.el.gz.

Signature

(ido-may-cache-directory &optional DIR)

Source Code

;; Defined in /usr/src/emacs/lisp/ido.el.gz
(defun ido-may-cache-directory (&optional dir)
  (setq dir (or dir ido-current-directory))
  (cond
   ((and (ido-is-root-directory dir)
	 (or ido-enable-tramp-completion
	     (memq system-type '(windows-nt ms-dos))))
    nil)
   ((ido-is-unc-host dir)
    (ido-cache-unc-valid))
   ((ido-is-ftp-directory dir)
    (ido-cache-ftp-valid))
   ((ido-directory-too-big-p dir)
    nil)
   (t t)))