emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r103081: * progmodes/compile.el: Make


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103081: * progmodes/compile.el: Make all faces inherit from font-lock faces.
Date: Wed, 02 Feb 2011 12:14:49 -0500
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 103081
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Wed 2011-02-02 12:14:49 -0500
message:
  * progmodes/compile.el: Make all faces inherit from font-lock faces.
  (compilation-warning): Inherit from font-lock-variable-name-face.
  (compilation-info): Inherit from font-lock-type-face.
  (compilation-line-number): Reassign to font-lock-keyword-face.
  (compilation-column-number): Reassign to font-lock-doc-face.
  (compilation-leave-directory-face): Reassign to font-lock-builtin-face.
modified:
  lisp/ChangeLog
  lisp/progmodes/compile.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-02-02 16:21:52 +0000
+++ b/lisp/ChangeLog    2011-02-02 17:14:49 +0000
@@ -1,3 +1,13 @@
+2011-02-02  Chong Yidong  <address@hidden>
+
+       * progmodes/compile.el: Make all faces inherit.
+       (compilation-warning): Inherit from font-lock-variable-name-face.
+       (compilation-info): Inherit from font-lock-type-face.
+       (compilation-line-number): Reassign to font-lock-keyword-face.
+       (compilation-column-number): Reassign to font-lock-doc-face.
+       (compilation-leave-directory-face): Reassign to
+       font-lock-builtin-face.
+
 2011-02-02  Eli Zaretskii  <address@hidden>
 
        * dired.el (dired-insert-directory): Don't invoke `ls' when

=== modified file 'lisp/progmodes/compile.el'
--- a/lisp/progmodes/compile.el 2011-02-01 21:22:21 +0000
+++ b/lisp/progmodes/compile.el 2011-02-02 17:14:49 +0000
@@ -633,34 +633,25 @@
   :version "22.1")
 
 (defface compilation-warning
-  '((((class color) (min-colors 16)) (:foreground "Orange" :weight bold))
-    (((class color)) (:foreground "cyan" :weight bold))
-    (t (:weight bold)))
+  '((t :inherit font-lock-variable-name-face))
   "Face used to highlight compiler warnings."
   :group 'compilation
   :version "22.1")
 
 (defface compilation-info
-  '((((class color) (min-colors 16) (background light))
-     (:foreground "Green3" :weight bold))
-    (((class color) (min-colors 88) (background dark))
-     (:foreground "Green1" :weight bold))
-    (((class color) (min-colors 16) (background dark))
-     (:foreground "Green" :weight bold))
-    (((class color)) (:foreground "green" :weight bold))
-    (t (:weight bold)))
+  '((t :inherit font-lock-type-face))
   "Face used to highlight compiler information."
   :group 'compilation
   :version "22.1")
 
 (defface compilation-line-number
-  '((t :inherit font-lock-variable-name-face))
+  '((t :inherit font-lock-keyword-face))
   "Face for displaying line numbers in compiler messages."
   :group 'compilation
   :version "22.1")
 
 (defface compilation-column-number
-  '((t :inherit font-lock-type-face))
+  '((t :inherit font-lock-doc-face))
   "Face for displaying column numbers in compiler messages."
   :group 'compilation
   :version "22.1")
@@ -693,7 +684,7 @@
 (defvar compilation-enter-directory-face 'font-lock-function-name-face
   "Face name to use for entering directory messages.")
 
-(defvar compilation-leave-directory-face 'font-lock-type-face
+(defvar compilation-leave-directory-face 'font-lock-builtin-face
   "Face name to use for leaving directory messages.")
 
 


reply via email to

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