aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ido.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 9b887d1619d..aca5e7e6d72 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -367,7 +367,7 @@ use either \\[customize] or the function `ido-mode'."
367Setting this variable directly does not work. Use `customize' or 367Setting this variable directly does not work. Use `customize' or
368call the function `ido-everywhere'." 368call the function `ido-everywhere'."
369 :set #'(lambda (symbol value) 369 :set #'(lambda (symbol value)
370 (ido-everywhere value)) 370 (ido-everywhere (if value 1 -1)))
371 :initialize 'custom-initialize-default 371 :initialize 'custom-initialize-default
372 :type 'boolean 372 :type 'boolean
373 :group 'ido) 373 :group 'ido)
@@ -1367,7 +1367,8 @@ This function also adds a hook to the minibuffer."
1367 (define-key map [remap display-buffer] 'ido-display-buffer))))) 1367 (define-key map [remap display-buffer] 'ido-display-buffer)))))
1368 1368
1369(defun ido-everywhere (arg) 1369(defun ido-everywhere (arg)
1370 "Enable ido everywhere file and directory names are read." 1370 "Toggle using ido speed-ups everywhere file and directory names are read.
1371With ARG, turn ido speed-up on if arg is positive, off otherwise."
1371 (interactive "P") 1372 (interactive "P")
1372 (setq ido-everywhere (if arg 1373 (setq ido-everywhere (if arg
1373 (> (prefix-numeric-value arg) 0) 1374 (> (prefix-numeric-value arg) 0)