diff options
| author | Miles Bader | 2005-06-10 07:34:16 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-06-10 07:34:16 +0000 |
| commit | 541a6d0de2860e20b7e18d8df0d1f5f33b4a1495 (patch) | |
| tree | 4073acd15c32c5ae831dc5e64ee3fdd3aa3cfbdf | |
| parent | fe735a8d8e3dbe65c79e7ea80034d2dbcc359028 (diff) | |
| download | emacs-541a6d0de2860e20b7e18d8df0d1f5f33b4a1495.tar.gz emacs-541a6d0de2860e20b7e18d8df0d1f5f33b4a1495.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-367
Remove "-face" suffix from compilation faces
2005-06-10 Miles Bader <miles@gnu.org>
* lisp/progmodes/compile.el (compilation-warning-face)
(compilation-info-face): Remove "-face" suffix from face names.
(compilation-warning-face, compilation-info-face):
New backward-compatibility aliases for renamed faces.
(compilation-warning-face, compilation-info-face):
Use renamed compilation faces.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 12 |
2 files changed, 15 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7c95351e74e..ab88f6429be 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2005-06-10 Miles Bader <miles@gnu.org> | 1 | 2005-06-10 Miles Bader <miles@gnu.org> |
| 2 | 2 | ||
| 3 | * progmodes/compile.el (compilation-warning-face) | ||
| 4 | (compilation-info-face): Remove "-face" suffix from face names. | ||
| 5 | (compilation-warning-face, compilation-info-face): | ||
| 6 | New backward-compatibility aliases for renamed faces. | ||
| 7 | (compilation-warning-face, compilation-info-face): | ||
| 8 | Use renamed compilation faces. | ||
| 9 | |||
| 3 | * add-log.el (change-log-date, change-log-name) | 10 | * add-log.el (change-log-date, change-log-name) |
| 4 | (change-log-email, change-log-file, change-log-list) | 11 | (change-log-email, change-log-file, change-log-list) |
| 5 | (change-log-conditionals, change-log-function) | 12 | (change-log-conditionals, change-log-function) |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index e0c8ded307a..e1b63e54b17 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -468,15 +468,17 @@ starting the compilation process.") | |||
| 468 | ;; History of compile commands. | 468 | ;; History of compile commands. |
| 469 | (defvar compile-history nil) | 469 | (defvar compile-history nil) |
| 470 | 470 | ||
| 471 | (defface compilation-warning-face | 471 | (defface compilation-warning |
| 472 | '((((class color) (min-colors 16)) (:foreground "Orange" :weight bold)) | 472 | '((((class color) (min-colors 16)) (:foreground "Orange" :weight bold)) |
| 473 | (((class color)) (:foreground "cyan" :weight bold)) | 473 | (((class color)) (:foreground "cyan" :weight bold)) |
| 474 | (t (:weight bold))) | 474 | (t (:weight bold))) |
| 475 | "Face used to highlight compiler warnings." | 475 | "Face used to highlight compiler warnings." |
| 476 | :group 'font-lock-highlighting-faces | 476 | :group 'font-lock-highlighting-faces |
| 477 | :version "22.1") | 477 | :version "22.1") |
| 478 | ;; backward-compatibility alias | ||
| 479 | (put 'compilation-warning-face 'face-alias 'compilation-warning) | ||
| 478 | 480 | ||
| 479 | (defface compilation-info-face | 481 | (defface compilation-info |
| 480 | '((((class color) (min-colors 16) (background light)) | 482 | '((((class color) (min-colors 16) (background light)) |
| 481 | (:foreground "Green3" :weight bold)) | 483 | (:foreground "Green3" :weight bold)) |
| 482 | (((class color) (min-colors 88) (background dark)) | 484 | (((class color) (min-colors 88) (background dark)) |
| @@ -488,6 +490,8 @@ starting the compilation process.") | |||
| 488 | "Face used to highlight compiler warnings." | 490 | "Face used to highlight compiler warnings." |
| 489 | :group 'font-lock-highlighting-faces | 491 | :group 'font-lock-highlighting-faces |
| 490 | :version "22.1") | 492 | :version "22.1") |
| 493 | ;; backward-compatibility alias | ||
| 494 | (put 'compilation-info-face 'face-alias 'compilation-info) | ||
| 491 | 495 | ||
| 492 | (defvar compilation-message-face nil | 496 | (defvar compilation-message-face nil |
| 493 | "Face name to use for whole messages. | 497 | "Face name to use for whole messages. |
| @@ -498,10 +502,10 @@ Faces `compilation-error-face', `compilation-warning-face', | |||
| 498 | (defvar compilation-error-face 'font-lock-warning-face | 502 | (defvar compilation-error-face 'font-lock-warning-face |
| 499 | "Face name to use for file name in error messages.") | 503 | "Face name to use for file name in error messages.") |
| 500 | 504 | ||
| 501 | (defvar compilation-warning-face 'compilation-warning-face | 505 | (defvar compilation-warning-face 'compilation-warning |
| 502 | "Face name to use for file name in warning messages.") | 506 | "Face name to use for file name in warning messages.") |
| 503 | 507 | ||
| 504 | (defvar compilation-info-face 'compilation-info-face | 508 | (defvar compilation-info-face 'compilation-info |
| 505 | "Face name to use for file name in informational messages.") | 509 | "Face name to use for file name in informational messages.") |
| 506 | 510 | ||
| 507 | (defvar compilation-line-face 'font-lock-variable-name-face | 511 | (defvar compilation-line-face 'font-lock-variable-name-face |