]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typo in dired-omit-case-fold-p
authorTino Calancha <tino.calancha@gmail.com>
Sun, 4 Dec 2016 09:12:59 +0000 (18:12 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Sun, 4 Dec 2016 09:12:59 +0000 (18:12 +0900)
* 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'.

lisp/dired-x.el

index 88caca458c84e1f2b168906e7770c64d1dfb7cb0..bddf1ebf78dd2de8ec330ffa03a6ecef99d352e9 100644 (file)
@@ -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