Mercurial > emacs
diff lisp/textmodes/tex-mode.el @ 104778:afa0e028ba97
Mark face aliases with "-face" suffix as obsolete.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 01 Sep 2009 07:24:13 +0000 |
parents | da8b3e61b182 |
children | bd2966850aac |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Tue Sep 01 03:27:52 2009 +0000 +++ b/lisp/textmodes/tex-mode.el Tue Sep 01 07:24:13 2009 +0000 @@ -719,8 +719,7 @@ '((t :inherit font-lock-string-face)) "Face used to highlight TeX math expressions." :group 'tex) -;; backward-compatibility alias -(put 'tex-math-face 'face-alias 'tex-math) +(define-obsolete-face-alias 'tex-math-face 'tex-math "22.1") (defvar tex-math-face 'tex-math) (defface tex-verbatim @@ -728,8 +727,7 @@ '((t :family "courier")) "Face used to highlight TeX verbatim environments." :group 'tex) -;; backward-compatibility alias -(put 'tex-verbatim-face 'face-alias 'tex-verbatim) +(define-obsolete-face-alias 'tex-verbatim-face 'tex-verbatim "22.1") (defvar tex-verbatim-face 'tex-verbatim) (defun tex-font-lock-verb (end)