summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/ido.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4e9eb15b0e6..62b158179ea 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -4,6 +4,8 @@
2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
+ * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
+
* ido.el (ido-delete-ignored-files): New function,
split from ido-make-file-list-1.
(ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
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")))))