el/dot-emacs.el: Configure dired faces.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 3 Jun 2010 15:56:10 +0000 (16:56 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 3 Jun 2010 15:56:10 +0000 (16:56 +0100)
Colour directories and symlinks to match usual `ls' preferences.  Don't
highlight group-writable permissions.

It's a shame that we can't highlight other things like executable
files.  Oh, well.

el/dot-emacs.el

index c218411..3372556 100644 (file)
@@ -866,6 +866,13 @@ doesn't match any of the regular expressions in
 (mdw-define-face comint-highlight-input
   (t nil))
 
+(mdw-define-face dired-directory
+  (t :foreground "cyan" :weight bold))
+(mdw-define-face dired-symlink
+  (t :foreground "cyan"))
+(mdw-define-face dired-perm-write
+  (t nil))
+
 (mdw-define-face trailing-whitespace
   (((class color)) :background "red")
   (t :inverse-video t))