summaryrefslogtreecommitdiff
path: root/helm-mode.el
diff options
context:
space:
mode:
authorLe Wang <le.wang@agworld.com.au>2012-09-26 22:20:36 +0800
committerLe Wang <le.wang@agworld.com.au>2012-09-26 22:20:36 +0800
commite0d9b224e214ac960a06cc1ce8b126498fe8bfed (patch)
tree2da5d43c870a243a6ba71a6e0a358bc0634ebca2 /helm-mode.el
parentcb304ca5908d8fe45fc13a7ee946da49067b673c (diff)
set `helm-read-file-name-case-fold-search` default based on OS
Diffstat (limited to 'helm-mode.el')
-rw-r--r--helm-mode.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/helm-mode.el b/helm-mode.el
index fc3638a1..9a497001 100644
--- a/helm-mode.el
+++ b/helm-mode.el
@@ -69,7 +69,11 @@ See `helm-case-fold-search' for more info."
:group 'helm-mode
:type 'symbol)
-(defcustom helm-read-file-name-case-fold-search helm-case-fold-search
+(defcustom helm-read-file-name-case-fold-search
+ (if (memq system-type
+ '(cygwin windows-nt ms-dos darwin))
+ t
+ helm-case-fold-search)
"Default Local setting of `helm-case-fold-search' for `helm-c-read-file-name'.
See `helm-case-fold-search' for more info."
:group 'helm-mode