emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105557: More uses of `error' and `wa


From: Juri Linkov
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105557: More uses of `error' and `warning' faces.
Date: Wed, 24 Aug 2011 21:09:18 +0300
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105557
fixes bug(s): http://debbugs.gnu.org/6117
committer: Juri Linkov <address@hidden>
branch nick: trunk
timestamp: Wed 2011-08-24 21:09:18 +0300
message:
  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'.
modified:
  lisp/ChangeLog
  lisp/battery.el
  lisp/ibuffer.el
  lisp/proced.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-08-24 18:01:40 +0000
+++ b/lisp/ChangeLog    2011-08-24 18:09:18 +0000
@@ -1,5 +1,18 @@
 2011-08-24  Juri Linkov  <address@hidden>
 
+       * proced.el (proced-marked): Inherit from `error' instead of
+       `font-lock-warning-face'.
+
+       * 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'.
+
+       * battery.el (battery-update): Use the face `error' instead of
+       `font-lock-warning-face' (bug#6117).
+
+2011-08-24  Juri Linkov  <address@hidden>
+
        * faces.el (success): Change face color from "Green3" to
        "ForestGreen" on light background (bug#9353).
 

=== modified file 'lisp/battery.el'
--- a/lisp/battery.el   2011-06-27 08:04:55 +0000
+++ b/lisp/battery.el   2011-08-24 18:09:18 +0000
@@ -199,7 +199,7 @@
                      'face
                      (and (<= (car (read-from-string (cdr (assq ?p data))))
                                   battery-load-critical)
-                          'font-lock-warning-face)
+                          'error)
                      'help-echo "Battery status information")))
   (force-mode-line-update))
 

=== modified file 'lisp/ibuffer.el'
--- a/lisp/ibuffer.el   2011-08-15 10:21:47 +0000
+++ b/lisp/ibuffer.el   2011-08-24 18:09:18 +0000
@@ -356,12 +356,12 @@
   :type 'hook
   :group 'ibuffer)
 
-(defcustom ibuffer-marked-face 'font-lock-warning-face
+(defcustom ibuffer-marked-face 'warning
   "Face used for displaying marked buffers."
   :type 'face
   :group 'ibuffer)
 
-(defcustom ibuffer-deletion-face 'font-lock-type-face
+(defcustom ibuffer-deletion-face 'error
   "Face used for displaying buffers marked for deletion."
   :type 'face
   :group 'ibuffer)

=== modified file 'lisp/proced.el'
--- a/lisp/proced.el    2011-07-20 09:53:51 +0000
+++ b/lisp/proced.el    2011-08-24 18:09:18 +0000
@@ -395,7 +395,7 @@
   :group 'proced-faces)
 
 (defface proced-marked
-  '((t (:inherit font-lock-warning-face)))
+  '((t (:inherit error)))
   "Face used for marked processes."
   :group 'proced-faces)
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]