chiark / gitweb /
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 c218411f0d5e8bb198cb96d2e11541e5914b2937..3372556f7024075de65c9bc07727e4b5285cef18 100644 (file)
@@ -866,6 +866,13 @@ (mdw-define-face comint-highlight-prompt
 (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))