diff options
| author | Juri Linkov | 2011-08-24 21:09:18 +0300 |
|---|---|---|
| committer | Juri Linkov | 2011-08-24 21:09:18 +0300 |
| commit | f22f4808a08e8f985d5e6175bbd13d5260e1ab1a (patch) | |
| tree | 381a68eae818006164203f224b272bb2ab85bd95 | |
| parent | 6a93965ee87c1e1bbad0b471b5de212b74a2a4ce (diff) | |
| download | emacs-f22f4808a08e8f985d5e6175bbd13d5260e1ab1a.tar.gz emacs-f22f4808a08e8f985d5e6175bbd13d5260e1ab1a.zip | |
More uses of `error' and `warning' faces.
* lisp/battery.el (battery-update): Use the face `error' instead of
`font-lock-warning-face'.
* lisp/ibuffer.el (ibuffer-marked-face): Change default face from
`font-lock-warning-face' to `warning'.
(ibuffer-deletion-face): Change default face from
`font-lock-type-face' to `error'.
* lisp/proced.el (proced-marked): Inherit from `error' instead of
`font-lock-warning-face'.
Fixes: debbugs:6117
| -rw-r--r-- | lisp/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/battery.el | 2 | ||||
| -rw-r--r-- | lisp/ibuffer.el | 4 | ||||
| -rw-r--r-- | lisp/proced.el | 2 |
4 files changed, 17 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 75ab64a1cfc..762779cc01e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,18 @@ | |||
| 1 | 2011-08-24 Juri Linkov <juri@jurta.org> | 1 | 2011-08-24 Juri Linkov <juri@jurta.org> |
| 2 | 2 | ||
| 3 | * proced.el (proced-marked): Inherit from `error' instead of | ||
| 4 | `font-lock-warning-face'. | ||
| 5 | |||
| 6 | * ibuffer.el (ibuffer-marked-face): Change default face from | ||
| 7 | `font-lock-warning-face' to `warning'. | ||
| 8 | (ibuffer-deletion-face): Change default face from | ||
| 9 | `font-lock-type-face' to `error'. | ||
| 10 | |||
| 11 | * battery.el (battery-update): Use the face `error' instead of | ||
| 12 | `font-lock-warning-face' (bug#6117). | ||
| 13 | |||
| 14 | 2011-08-24 Juri Linkov <juri@jurta.org> | ||
| 15 | |||
| 3 | * faces.el (success): Change face color from "Green3" to | 16 | * faces.el (success): Change face color from "Green3" to |
| 4 | "ForestGreen" on light background (bug#9353). | 17 | "ForestGreen" on light background (bug#9353). |
| 5 | 18 | ||
diff --git a/lisp/battery.el b/lisp/battery.el index d7d3045fa58..e0bba96b655 100644 --- a/lisp/battery.el +++ b/lisp/battery.el | |||
| @@ -199,7 +199,7 @@ seconds." | |||
| 199 | 'face | 199 | 'face |
| 200 | (and (<= (car (read-from-string (cdr (assq ?p data)))) | 200 | (and (<= (car (read-from-string (cdr (assq ?p data)))) |
| 201 | battery-load-critical) | 201 | battery-load-critical) |
| 202 | 'font-lock-warning-face) | 202 | 'error) |
| 203 | 'help-echo "Battery status information"))) | 203 | 'help-echo "Battery status information"))) |
| 204 | (force-mode-line-update)) | 204 | (force-mode-line-update)) |
| 205 | 205 | ||
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 725192399ff..5a86508e144 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -356,12 +356,12 @@ directory, like `default-directory'." | |||
| 356 | :type 'hook | 356 | :type 'hook |
| 357 | :group 'ibuffer) | 357 | :group 'ibuffer) |
| 358 | 358 | ||
| 359 | (defcustom ibuffer-marked-face 'font-lock-warning-face | 359 | (defcustom ibuffer-marked-face 'warning |
| 360 | "Face used for displaying marked buffers." | 360 | "Face used for displaying marked buffers." |
| 361 | :type 'face | 361 | :type 'face |
| 362 | :group 'ibuffer) | 362 | :group 'ibuffer) |
| 363 | 363 | ||
| 364 | (defcustom ibuffer-deletion-face 'font-lock-type-face | 364 | (defcustom ibuffer-deletion-face 'error |
| 365 | "Face used for displaying buffers marked for deletion." | 365 | "Face used for displaying buffers marked for deletion." |
| 366 | :type 'face | 366 | :type 'face |
| 367 | :group 'ibuffer) | 367 | :group 'ibuffer) |
diff --git a/lisp/proced.el b/lisp/proced.el index 94ea579ebd8..e4987bd926c 100644 --- a/lisp/proced.el +++ b/lisp/proced.el | |||
| @@ -395,7 +395,7 @@ It is a list of lists (KEY PREDICATE REVERSE).") | |||
| 395 | :group 'proced-faces) | 395 | :group 'proced-faces) |
| 396 | 396 | ||
| 397 | (defface proced-marked | 397 | (defface proced-marked |
| 398 | '((t (:inherit font-lock-warning-face))) | 398 | '((t (:inherit error))) |
| 399 | "Face used for marked processes." | 399 | "Face used for marked processes." |
| 400 | :group 'proced-faces) | 400 | :group 'proced-faces) |
| 401 | 401 | ||