summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/dired.el4
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 058a355a929..6db0044d539 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-12 Martin Rudalics <rudalics@gmx.at>
+
+ * dired.el (dired-warning): Inherit from font-lock-warning-face to
+ make it show up with eight colors.
+
2007-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
* diff-mode.el (diff-sanity-check-hunk): Fix up the case when unified
diff --git a/lisp/dired.el b/lisp/dired.el
index bd160df7bda..5d0e41fee7e 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -335,7 +335,9 @@ Subexpression 2 must end right before the \\n or \\r.")
"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")