diff options
| author | Chong Yidong | 2011-02-02 12:14:49 -0500 |
|---|---|---|
| committer | Chong Yidong | 2011-02-02 12:14:49 -0500 |
| commit | 90db975fc5177e0a54ef8eff43cc2585c5cb60cb (patch) | |
| tree | cae4878410ab1896381fb8d77da51ac232d0b3d2 | |
| parent | d9f1f55ed7e8455fdcff0dfc49e8538e03d90304 (diff) | |
| download | emacs-90db975fc5177e0a54ef8eff43cc2585c5cb60cb.tar.gz emacs-90db975fc5177e0a54ef8eff43cc2585c5cb60cb.zip | |
* 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.
| -rw-r--r-- | lisp/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 19 |
2 files changed, 15 insertions, 14 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 219aef943de..feb5daeca3b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2011-02-02 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * progmodes/compile.el: Make all faces inherit. | ||
| 4 | (compilation-warning): Inherit from font-lock-variable-name-face. | ||
| 5 | (compilation-info): Inherit from font-lock-type-face. | ||
| 6 | (compilation-line-number): Reassign to font-lock-keyword-face. | ||
| 7 | (compilation-column-number): Reassign to font-lock-doc-face. | ||
| 8 | (compilation-leave-directory-face): Reassign to | ||
| 9 | font-lock-builtin-face. | ||
| 10 | |||
| 1 | 2011-02-02 Eli Zaretskii <eliz@gnu.org> | 11 | 2011-02-02 Eli Zaretskii <eliz@gnu.org> |
| 2 | 12 | ||
| 3 | * dired.el (dired-insert-directory): Don't invoke `ls' when | 13 | * dired.el (dired-insert-directory): Don't invoke `ls' when |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index e243043d668..b41eb82e27d 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -633,34 +633,25 @@ starting the compilation process.") | |||
| 633 | :version "22.1") | 633 | :version "22.1") |
| 634 | 634 | ||
| 635 | (defface compilation-warning | 635 | (defface compilation-warning |
| 636 | '((((class color) (min-colors 16)) (:foreground "Orange" :weight bold)) | 636 | '((t :inherit font-lock-variable-name-face)) |
| 637 | (((class color)) (:foreground "cyan" :weight bold)) | ||
| 638 | (t (:weight bold))) | ||
| 639 | "Face used to highlight compiler warnings." | 637 | "Face used to highlight compiler warnings." |
| 640 | :group 'compilation | 638 | :group 'compilation |
| 641 | :version "22.1") | 639 | :version "22.1") |
| 642 | 640 | ||
| 643 | (defface compilation-info | 641 | (defface compilation-info |
| 644 | '((((class color) (min-colors 16) (background light)) | 642 | '((t :inherit font-lock-type-face)) |
| 645 | (:foreground "Green3" :weight bold)) | ||
| 646 | (((class color) (min-colors 88) (background dark)) | ||
| 647 | (:foreground "Green1" :weight bold)) | ||
| 648 | (((class color) (min-colors 16) (background dark)) | ||
| 649 | (:foreground "Green" :weight bold)) | ||
| 650 | (((class color)) (:foreground "green" :weight bold)) | ||
| 651 | (t (:weight bold))) | ||
| 652 | "Face used to highlight compiler information." | 643 | "Face used to highlight compiler information." |
| 653 | :group 'compilation | 644 | :group 'compilation |
| 654 | :version "22.1") | 645 | :version "22.1") |
| 655 | 646 | ||
| 656 | (defface compilation-line-number | 647 | (defface compilation-line-number |
| 657 | '((t :inherit font-lock-variable-name-face)) | 648 | '((t :inherit font-lock-keyword-face)) |
| 658 | "Face for displaying line numbers in compiler messages." | 649 | "Face for displaying line numbers in compiler messages." |
| 659 | :group 'compilation | 650 | :group 'compilation |
| 660 | :version "22.1") | 651 | :version "22.1") |
| 661 | 652 | ||
| 662 | (defface compilation-column-number | 653 | (defface compilation-column-number |
| 663 | '((t :inherit font-lock-type-face)) | 654 | '((t :inherit font-lock-doc-face)) |
| 664 | "Face for displaying column numbers in compiler messages." | 655 | "Face for displaying column numbers in compiler messages." |
| 665 | :group 'compilation | 656 | :group 'compilation |
| 666 | :version "22.1") | 657 | :version "22.1") |
| @@ -693,7 +684,7 @@ Faces `compilation-error-face', `compilation-warning-face', | |||
| 693 | (defvar compilation-enter-directory-face 'font-lock-function-name-face | 684 | (defvar compilation-enter-directory-face 'font-lock-function-name-face |
| 694 | "Face name to use for entering directory messages.") | 685 | "Face name to use for entering directory messages.") |
| 695 | 686 | ||
| 696 | (defvar compilation-leave-directory-face 'font-lock-type-face | 687 | (defvar compilation-leave-directory-face 'font-lock-builtin-face |
| 697 | "Face name to use for leaving directory messages.") | 688 | "Face name to use for leaving directory messages.") |
| 698 | 689 | ||
| 699 | 690 | ||