diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2016-12-04 18:12:59 +0900 |
---|---|---|
committer | Tino Calancha <tino.calancha@gmail.com> | 2016-12-04 18:12:59 +0900 |
commit | 35d547096293a6ee5233ad086d6e27756f092fee (patch) | |
tree | f5d3edc60d021d3309c6d6b68b3cef7982d9785a /lisp/dired-x.el | |
parent | d993aaf9cdbb1d4f14c46b828f1c6caf17443c9b (diff) | |
download | emacs-35d547096293a6ee5233ad086d6e27756f092fee.tar.gz |
Fix typo in dired-omit-case-fold-p
* lisp/dired-x.el (dired-omit-case-fold-p):
Write 'file-name-case-insensitive-p' instead of
'file-name-case-sensitive-p'.
Add declaration of 'file-name-case-insensitive-p'.
Diffstat (limited to 'lisp/dired-x.el')
-rw-r--r-- | lisp/dired-x.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index 88caca458c8..bddf1ebf78d 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el @@ -130,10 +130,11 @@ folding to be used on case-insensitive filesystems only." :group 'dired-x :version "26.1") +(declare-function file-name-case-insensitive-p "fileio.c" (filename)) (defun dired-omit-case-fold-p (dir) "Non-nil if `dired-omit-mode' should be case-insensitive in DIR." (if (eq dired-omit-case-fold 'filesystem) - (file-name-case-sensitive-p dir) + (file-name-case-insensitive-p dir) dired-omit-case-fold)) ;; For backward compatibility |