From: Tino Calancha Date: Sun, 4 Dec 2016 09:12:59 +0000 (+0900) Subject: Fix typo in dired-omit-case-fold-p X-Git-Tag: emacs-26.0.90~1209 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=35d547096293a6ee5233ad086d6e27756f092fee;p=emacs.git 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'. --- 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