aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorGlenn Morris2009-09-01 07:24:13 +0000
committerGlenn Morris2009-09-01 07:24:13 +0000
commitc4f6e489aa5c0d3559f442587b32b01cf7dbdb8d (patch)
tree77117e072ab68f0ad7a1039105faaac2368d5429 /lisp/textmodes
parentd80619faefb04b289ea2dfb9d83256d3a61159f6 (diff)
downloademacs-c4f6e489aa5c0d3559f442587b32b01cf7dbdb8d.tar.gz
emacs-c4f6e489aa5c0d3559f442587b32b01cf7dbdb8d.zip
Mark face aliases with "-face" suffix as obsolete.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/flyspell.el10
-rw-r--r--lisp/textmodes/tex-mode.el6
2 files changed, 6 insertions, 10 deletions
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index f3a15b2c5cc..f7794e1bf6d 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -1,7 +1,7 @@
1;;; flyspell.el --- on-the-fly spell checker 1;;; flyspell.el --- on-the-fly spell checker
2 2
3;; Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2008, 2009 Free Software Foundation, Inc.
5 5
6;; Author: Manuel Serrano <Manuel.Serrano@sophia.inria.fr> 6;; Author: Manuel Serrano <Manuel.Serrano@sophia.inria.fr>
7;; Maintainer: FSF 7;; Maintainer: FSF
@@ -440,8 +440,7 @@ property of the major mode name.")
440 (t (:bold t))) 440 (t (:bold t)))
441 "Face used for marking a misspelled word in Flyspell." 441 "Face used for marking a misspelled word in Flyspell."
442 :group 'flyspell) 442 :group 'flyspell)
443;; backward-compatibility alias 443(define-obsolete-face-alias 'flyspell-incorrect-face 'flyspell-incorrect "22.1")
444(put 'flyspell-incorrect-face 'face-alias 'flyspell-incorrect)
445 444
446(defface flyspell-duplicate 445(defface flyspell-duplicate
447 '((((class color)) (:foreground "Gold3" :bold t :underline t)) 446 '((((class color)) (:foreground "Gold3" :bold t :underline t))
@@ -449,8 +448,7 @@ property of the major mode name.")
449 "Face used for marking a misspelled word that appears twice in the buffer. 448 "Face used for marking a misspelled word that appears twice in the buffer.
450See also `flyspell-duplicate-distance'." 449See also `flyspell-duplicate-distance'."
451 :group 'flyspell) 450 :group 'flyspell)
452;; backward-compatibility alias 451(define-obsolete-face-alias 'flyspell-duplicate-face 'flyspell-duplicate "22.1")
453(put 'flyspell-duplicate-face 'face-alias 'flyspell-duplicate)
454 452
455(defvar flyspell-overlay nil) 453(defvar flyspell-overlay nil)
456 454
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index ed975ab45c6..b45cb25b3b7 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -719,8 +719,7 @@ Not smaller than the value set by `tex-suscript-height-minimum'."
719 '((t :inherit font-lock-string-face)) 719 '((t :inherit font-lock-string-face))
720 "Face used to highlight TeX math expressions." 720 "Face used to highlight TeX math expressions."
721 :group 'tex) 721 :group 'tex)
722;; backward-compatibility alias 722(define-obsolete-face-alias 'tex-math-face 'tex-math "22.1")
723(put 'tex-math-face 'face-alias 'tex-math)
724(defvar tex-math-face 'tex-math) 723(defvar tex-math-face 'tex-math)
725 724
726(defface tex-verbatim 725(defface tex-verbatim
@@ -728,8 +727,7 @@ Not smaller than the value set by `tex-suscript-height-minimum'."
728 '((t :family "courier")) 727 '((t :family "courier"))
729 "Face used to highlight TeX verbatim environments." 728 "Face used to highlight TeX verbatim environments."
730 :group 'tex) 729 :group 'tex)
731;; backward-compatibility alias 730(define-obsolete-face-alias 'tex-verbatim-face 'tex-verbatim "22.1")
732(put 'tex-verbatim-face 'face-alias 'tex-verbatim)
733(defvar tex-verbatim-face 'tex-verbatim) 731(defvar tex-verbatim-face 'tex-verbatim)
734 732
735(defun tex-font-lock-verb (end) 733(defun tex-font-lock-verb (end)