aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov <[email protected]>2011-08-18 14:36:19 +0300
committerJuri Linkov <[email protected]>2011-08-18 14:36:19 +0300
commitbc987f8b80cbab4d8319d05a9499c615213a0685 (patch)
tree3ec5356d94c610a669aa2e2a0081af2729bfa782 /etc
parentc094bb0cf7eee9defdd76b8432dcbc24a7c6856d (diff)
* lisp/faces.el (error, warning, success): New faces with definitions
copied from old default values of `font-lock-warning-face', `compilation-warning', `compilation-info'. * lisp/font-lock.el (font-lock-warning-face): Inherit from `error'. * lisp/progmodes/compile.el (compilation-error): Inherit from `error'. (compilation-warning): Inherit from `warning'. (compilation-info): Inherit from `success'. * lisp/dired.el (dired-marked): Inherit from `warning'. (dired-flagged): Inherit from `error'. Fixes: debbugs:6117
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ed472a5668..7b46259f7d 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -234,6 +234,9 @@ these image types, minus those listed in `imagemagick-types-inhibit'.
See the Emacs Lisp Reference Manual for more information.
+** New basic faces `error', `warning', `success' are available to
+highlight strings that indicate failure, caution or successful operation.
+
** The colors for selected text (the region face) are taken from the GTK
theme when Emacs is built with GTK.