From c4a40544038f36891032d1ba166626ca9bb679d7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 7 Dec 2000 15:01:59 +0000 Subject: [PATCH] (normal-top-level-add-subdirs-to-load-path): Ignore the CVS and RCS subdirectories case-insensitively. --- lisp/startup.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/startup.el b/lisp/startup.el index c63c0b15d1a..6978855bd93 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -360,7 +360,8 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." (setq normal-top-level-add-subdirs-inode-list (cons attrs normal-top-level-add-subdirs-inode-list)) (while contents - (unless (member (car contents) '("." ".." "RCS" "CVS")) + ;; The lower-case variants of RCS and CVS are for DOS/Windows. + (unless (member (car contents) '("." ".." "RCS" "CVS" "rcs" "cvs")) (when (and (string-match "\\`[[:alnum:]]" (car contents)) ;; Avoid doing a `stat' when it isn't necessary ;; because that can cause trouble when an NFS server -- 2.39.5