From bc987f8b80cbab4d8319d05a9499c615213a0685 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Thu, 18 Aug 2011 14:36:19 +0300 Subject: * 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 --- etc/NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc') 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. -- cgit v1.2.3