Mercurial > emacs
changeset 63459:fe2fc708f3ef
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.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 15 Jun 2005 00:17:41 +0000 |
parents | 3265e9c7ab3d |
children | 645f22f05a9a |
files | lisp/ChangeLog lisp/progmodes/ld-script.el |
diffstat | 2 files changed, 12 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Wed Jun 15 00:14:58 2005 +0000 +++ b/lisp/ChangeLog Wed Jun 15 00:17:41 2005 +0000 @@ -1,9 +1,15 @@ 2005-06-14 Miles Bader <miles@gnu.org> + * 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. + * progmodes/cperl-mode.el (cperl-nonoverridable, cperl-array) (cperl-hash): Remove "-face" suffix from face names. (cperl-nonoverridable-face, cperl-array-face, cperl-hash-face): - New backward-compatibility alias for renamed faces. + New backward-compatibility aliases for renamed faces. (cperl-find-pods-heres, cperl-init-faces, cperl-ps-print-init) (cperl-ps-print-face-properties): Use renamed cperl-mode faces.
--- a/lisp/progmodes/ld-script.el Wed Jun 15 00:14:58 2005 +0000 +++ b/lisp/progmodes/ld-script.el Wed Jun 15 00:17:41 2005 +0000 @@ -1,6 +1,6 @@ ;;; ld-script.el --- GNU linker script editing mode for Emacs -;; Copyright (C) 2003 Free Software Foundation, Inc. +;; Copyright (C) 2003, 2005 Free Software Foundation, Inc. ;; Author: Masatake YAMATO<jet@gyve.org> ;; Keywords: languages, faces @@ -34,11 +34,13 @@ :prefix "ld-script-" :group 'languages) -(defvar ld-script-location-counter-face 'ld-script-location-counter-face) -(defface ld-script-location-counter-face +(defvar ld-script-location-counter-face 'ld-script-location-counter) +(defface ld-script-location-counter '((t (:weight bold :inherit font-lock-builtin-face))) "Face for location counter in GNU ld script." :group 'ld-script) +;; backward-compatibility alias +(put 'ld-script-location-counter-face 'face-alias 'ld-script-location-counter) ;; Syntax rules (defvar ld-script-mode-syntax-table