From: Martin Rudalics Date: Wed, 12 Sep 2007 08:25:24 +0000 (+0000) Subject: (dired-warning): Inherit from font-lock-warning-face to X-Git-Tag: emacs-pretest-22.1.90~837 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f0c86fc73f3864a68b25ad94d9da561603aae3b;p=emacs.git (dired-warning): Inherit from font-lock-warning-face to make it show up with eight colors. --- diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE index 20c23421fb1..9cdced96a79 100644 --- a/admin/FOR-RELEASE +++ b/admin/FOR-RELEASE @@ -68,10 +68,6 @@ Report by Sebastien Rocca Serra on emacs-devel from 2007-08-30. http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg01632.html -** dired-warning face not colored on 8-color ttys -Report by on bug-gnu-emacs from 2007-08-30. -http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-08/msg00212.html - ** mouse-autoselect-window with click-to-focus window managers Report by Drew Adams on emacs-devel from 2007-09-05. 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 + + * dired.el (dired-warning): Inherit from font-lock-warning-face to + make it show up with eight colors. + 2007-09-12 Stefan Monnier * 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")