diff options
| author | Juri Linkov | 2011-08-18 14:36:19 +0300 |
|---|---|---|
| committer | Juri Linkov | 2011-08-18 14:36:19 +0300 |
| commit | bc987f8b80cbab4d8319d05a9499c615213a0685 (patch) | |
| tree | 3ec5356d94c610a669aa2e2a0081af2729bfa782 /etc | |
| parent | c094bb0cf7eee9defdd76b8432dcbc24a7c6856d (diff) | |
| download | emacs-bc987f8b80cbab4d8319d05a9499c615213a0685.tar.gz emacs-bc987f8b80cbab4d8319d05a9499c615213a0685.zip | |
* 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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -234,6 +234,9 @@ these image types, minus those listed in `imagemagick-types-inhibit'. | |||
| 234 | 234 | ||
| 235 | See the Emacs Lisp Reference Manual for more information. | 235 | See the Emacs Lisp Reference Manual for more information. |
| 236 | 236 | ||
| 237 | ** New basic faces `error', `warning', `success' are available to | ||
| 238 | highlight strings that indicate failure, caution or successful operation. | ||
| 239 | |||
| 237 | ** The colors for selected text (the region face) are taken from the GTK | 240 | ** The colors for selected text (the region face) are taken from the GTK |
| 238 | theme when Emacs is built with GTK. | 241 | theme when Emacs is built with GTK. |
| 239 | 242 | ||