From 35d547096293a6ee5233ad086d6e27756f092fee Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Sun, 4 Dec 2016 18:12:59 +0900 Subject: [PATCH] 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'. --- lisp/dired-x.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2