summaryrefslogtreecommitdiff
path: root/lisp/ido.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ido.el')
-rw-r--r--lisp/ido.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 56331661f24..b73094f2db3 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -3288,7 +3288,7 @@ for first matching file."
(shell-command-to-string
(concat "find "
(shell-quote-argument dir)
- " -name "
+ (if ido-case-fold " -iname " " -name ")
(shell-quote-argument
(concat (if prefix "" "*") file "*"))
" -type " (if finddir "d" "f") " -print")))))