diff options
| author | Miles Bader | 2005-06-15 00:17:41 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-06-15 00:17:41 +0000 |
| commit | a5d370313684626a2ec1f0f24e54db6499b1c651 (patch) | |
| tree | e4e8d86bac466fe7b988dd94e566a200dd40bda7 /lisp | |
| parent | e4c067b5d5d0f373d7f5796e7ceb5bf06f1ddca3 (diff) | |
| download | emacs-a5d370313684626a2ec1f0f24e54db6499b1c651.tar.gz emacs-a5d370313684626a2ec1f0f24e54db6499b1c651.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-419
Remove "-face" suffix from ld-script faces
2005-06-14 Miles Bader <miles@gnu.org>
* lisp/progmodes/ld-script.el (ld-script-location-counter):
Remove "-face" suffix from face name.
(ld-script-location-counter-face):
New backward-compatibility alias for renamed face.
(ld-script-location-counter-face): Use renamed face.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/progmodes/ld-script.el | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7cae0df4661..884b9e0023a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,9 +1,15 @@ | |||
| 1 | 2005-06-14 Miles Bader <miles@gnu.org> | 1 | 2005-06-14 Miles Bader <miles@gnu.org> |
| 2 | 2 | ||
| 3 | * progmodes/ld-script.el (ld-script-location-counter): | ||
| 4 | Remove "-face" suffix from face name. | ||
| 5 | (ld-script-location-counter-face): | ||
| 6 | New backward-compatibility alias for renamed face. | ||
| 7 | (ld-script-location-counter-face): Use renamed face. | ||
| 8 | |||
| 3 | * progmodes/cperl-mode.el (cperl-nonoverridable, cperl-array) | 9 | * progmodes/cperl-mode.el (cperl-nonoverridable, cperl-array) |
| 4 | (cperl-hash): Remove "-face" suffix from face names. | 10 | (cperl-hash): Remove "-face" suffix from face names. |
| 5 | (cperl-nonoverridable-face, cperl-array-face, cperl-hash-face): | 11 | (cperl-nonoverridable-face, cperl-array-face, cperl-hash-face): |
| 6 | New backward-compatibility alias for renamed faces. | 12 | New backward-compatibility aliases for renamed faces. |
| 7 | (cperl-find-pods-heres, cperl-init-faces, cperl-ps-print-init) | 13 | (cperl-find-pods-heres, cperl-init-faces, cperl-ps-print-init) |
| 8 | (cperl-ps-print-face-properties): Use renamed cperl-mode faces. | 14 | (cperl-ps-print-face-properties): Use renamed cperl-mode faces. |
| 9 | 15 | ||
diff --git a/lisp/progmodes/ld-script.el b/lisp/progmodes/ld-script.el index 120cae538d5..ef24604ba7b 100644 --- a/lisp/progmodes/ld-script.el +++ b/lisp/progmodes/ld-script.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; ld-script.el --- GNU linker script editing mode for Emacs | 1 | ;;; ld-script.el --- GNU linker script editing mode for Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2003 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2003, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Masatake YAMATO<jet@gyve.org> | 5 | ;; Author: Masatake YAMATO<jet@gyve.org> |
| 6 | ;; Keywords: languages, faces | 6 | ;; Keywords: languages, faces |
| @@ -34,11 +34,13 @@ | |||
| 34 | :prefix "ld-script-" | 34 | :prefix "ld-script-" |
| 35 | :group 'languages) | 35 | :group 'languages) |
| 36 | 36 | ||
| 37 | (defvar ld-script-location-counter-face 'ld-script-location-counter-face) | 37 | (defvar ld-script-location-counter-face 'ld-script-location-counter) |
| 38 | (defface ld-script-location-counter-face | 38 | (defface ld-script-location-counter |
| 39 | '((t (:weight bold :inherit font-lock-builtin-face))) | 39 | '((t (:weight bold :inherit font-lock-builtin-face))) |
| 40 | "Face for location counter in GNU ld script." | 40 | "Face for location counter in GNU ld script." |
| 41 | :group 'ld-script) | 41 | :group 'ld-script) |
| 42 | ;; backward-compatibility alias | ||
| 43 | (put 'ld-script-location-counter-face 'face-alias 'ld-script-location-counter) | ||
| 42 | 44 | ||
| 43 | ;; Syntax rules | 45 | ;; Syntax rules |
| 44 | (defvar ld-script-mode-syntax-table | 46 | (defvar ld-script-mode-syntax-table |