diff lisp/textmodes/sgml-mode.el @ 63226:33e854825b44

Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-390 Remove "-face" suffix from sgml-namespace face 2005-06-10 Miles Bader <miles@gnu.org> * lisp/textmodes/sgml-mode.el (sgml-namespace): Remove "-face" suffix from face name. (sgml-namespace-face): New backward-compatibility alias for renamed face. (sgml-namespace-face): Use renamed sgml-namespace face.
author Miles Bader <miles@gnu.org>
date Fri, 10 Jun 2005 10:45:17 +0000
parents e38d2ae61b0a
children 0f90f64f45d8 a1b34dec1104
line wrap: on
line diff
--- a/lisp/textmodes/sgml-mode.el	Fri Jun 10 10:44:55 2005 +0000
+++ b/lisp/textmodes/sgml-mode.el	Fri Jun 10 10:45:17 2005 +0000
@@ -248,11 +248,13 @@
   "Regular expression that matches a non-empty start tag.
 Any terminating `>' or `/' is not matched.")
 
-(defface sgml-namespace-face
+(defface sgml-namespace
   '((t (:inherit font-lock-builtin-face)))
   "`sgml-mode' face used to highlight the namespace part of identifiers."
   :group 'sgml)
-(defvar sgml-namespace-face 'sgml-namespace-face)
+;; backward-compatibility alias
+(put 'sgml-namespace-face 'face-alias 'sgml-namespace)
+(defvar sgml-namespace-face 'sgml-namespace)
 
 ;; internal
 (defconst sgml-font-lock-keywords-1