What I /want/ to do is have Emacs not ignore `.git' as a suffix on a
directory name, but still ignore the VCS directory, but it doesn't seem
to work like that. More on this later, probably.
(setq completion-ignored-extensions
(append `(".hc" ".hi") completion-ignored-extensions))
(setq completion-ignored-extensions
(append `(".hc" ".hi") completion-ignored-extensions))
+(dolist (dir (remove-if-not (lambda (ext)
+ (= (aref ext (- (length ext) 1)) ?/))
+ completion-ignored-extensions))
+ (if (/= (aref dir 0) ?/)
+ (setq completion-ignored-extensions
+ (cons (concat "/" dir)
+ (remove dir completion-ignored-extensions)))))
;; Some common local definitions.
;; Some common local definitions.