changeset 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 68fff43896fb
children d27200e45acd
files lisp/dired.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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")