diff lisp/dired.el @ 78759:f85317d85f18

(dired-warning): Inherit from font-lock-warning-face to make it show up with eight colors.
author Martin Rudalics <rudalics@gmx.at>
date Wed, 12 Sep 2007 08:23:16 +0000
parents 49b138bd37ef
children 6b97f0761688 5039706521c9
line wrap: on
line diff
--- a/lisp/dired.el	Wed Sep 12 07:35:37 2007 +0000
+++ b/lisp/dired.el	Wed Sep 12 08:23:16 2007 +0000
@@ -335,7 +335,9 @@
   "Face name used for flagged files.")
 
 (defface dired-warning
-  '((t (:inherit font-lock-comment-face)))
+  ;; Inherit from font-lock-warning-face since with min-colors 8
+  ;; font-lock-comment-face is not colored any more.
+  '((t (:inherit font-lock-warning-face)))
   "Face used to highlight a part of a buffer that needs user attention."
   :group 'dired-faces
   :version "22.1")