aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
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
parentd80619faefb04b289ea2dfb9d83256d3a61159f6 (diff)
downloademacs-c4f6e489aa5c0d3559f442587b32b01cf7dbdb8d.tar.gz
emacs-c4f6e489aa5c0d3559f442587b32b01cf7dbdb8d.zip
Mark face aliases with "-face" suffix as obsolete.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog44
-rw-r--r--lisp/add-log.el30
-rw-r--r--lisp/cus-edit.el59
-rw-r--r--lisp/diff-mode.el34
-rw-r--r--lisp/generic-x.el10
-rw-r--r--lisp/hilit-chg.el14
-rw-r--r--lisp/info.el12
-rw-r--r--lisp/isearch.el6
-rw-r--r--lisp/log-view.el9
-rw-r--r--lisp/obsolete/old-whitespace.el8
-rw-r--r--lisp/paren.el11
-rw-r--r--lisp/pcvs-info.el21
-rw-r--r--lisp/progmodes/ebrowse.el23
-rw-r--r--lisp/progmodes/make-mode.el2
-rw-r--r--lisp/progmodes/sh-script.el8
-rw-r--r--lisp/smerge-mode.el12
-rw-r--r--lisp/textmodes/flyspell.el10
-rw-r--r--lisp/textmodes/tex-mode.el6
-rw-r--r--lisp/wid-edit.el22
-rw-r--r--lisp/woman.el8
20 files changed, 166 insertions, 183 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 66e5caea47d..76cb0f150f4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,49 @@
12009-09-01 Glenn Morris <rgm@gnu.org> 12009-09-01 Glenn Morris <rgm@gnu.org>
2 2
3 * add-log.el (change-log-date-face, change-log-name-face)
4 (change-log-email-face, change-log-file-face, change-log-list-face)
5 (change-log-conditionals-face, change-log-function-face)
6 (change-log-acknowledgement-face):
7 * cus-edit.el (custom-invalid-face, custom-rogue-face)
8 (custom-modified-face, custom-set-face, custom-changed-face)
9 (custom-saved-face, custom-button-face, custom-button-pressed-face)
10 (custom-documentation-face, custom-state-face, custom-comment-face)
11 (custom-comment-tag-face, custom-variable-tag-face)
12 (custom-variable-button-face, custom-face-tag-face)
13 (custom-group-tag-face-1, custom-group-tag-face):
14 * diff-mode.el (diff-header-face, diff-file-header-face)
15 (diff-index-face, diff-hunk-header-face, diff-removed-face)
16 (diff-added-face, diff-changed-face, diff-function-face)
17 (diff-context-face, diff-nonexistent-face):
18 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
21 (Info-title-4-face):
22 * isearch.el (isearch-lazy-highlight-face):
23 * log-view.el (log-view-file-face, log-view-message-face):
24 * paren.el (show-paren-match-face, show-paren-mismatch-face):
25 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
26 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
27 (cvs-msg-face):
28 * smerge-mode.el (smerge-mine-face, smerge-other-face)
29 (smerge-base-face, smerge-markers-face):
30 * wid-edit.el (widget-documentation-face, widget-button-face)
31 (widget-field-face, widget-single-line-field-face)
32 (widget-inactive-face, widget-button-pressed-face):
33 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
34 (woman-addition-face):
35 * obsolete/old-whitespace.el (whitespace-highlight-face):
36 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
37 (ebrowse-root-class-face, ebrowse-file-name-face)
38 (ebrowse-default-face, ebrowse-member-attribute-face)
39 (ebrowse-member-class-face, ebrowse-progress-face):
40 * progmodes/make-mode.el (makefile-space-face):
41 * progmodes/sh-script.el (sh-heredoc-face):
42 * textmodes/flyspell.el (flyspell-incorrect-face)
43 (flyspell-duplicate-face):
44 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
45 Mark face aliases with "-face" suffix as obsolete.
46
3 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for 47 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
4 compiler. 48 compiler.
5 49
diff --git a/lisp/add-log.el b/lisp/add-log.el
index 30c9520a66d..c8b34a6e081 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -1,7 +1,8 @@
1;;; add-log.el --- change log maintenance commands for Emacs 1;;; add-log.el --- change log maintenance commands for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1988, 1993, 1994, 1997, 1998, 2000, 2001, 3;; Copyright (C) 1985, 1986, 1988, 1993, 1994, 1997, 1998, 2000, 2001,
4;; 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
5;; Free Software Foundation, Inc.
5 6
6;; Maintainer: FSF 7;; Maintainer: FSF
7;; Keywords: tools 8;; Keywords: tools
@@ -180,64 +181,59 @@ Note: The search is conducted only within 10%, at the beginning of the file."
180 "Face used to highlight dates in date lines." 181 "Face used to highlight dates in date lines."
181 :version "21.1" 182 :version "21.1"
182 :group 'change-log) 183 :group 'change-log)
183;; backward-compatibility alias 184(define-obsolete-face-alias 'change-log-date-face 'change-log-date "22.1")
184(put 'change-log-date-face 'face-alias 'change-log-date)
185 185
186(defface change-log-name 186(defface change-log-name
187 '((t (:inherit font-lock-constant-face))) 187 '((t (:inherit font-lock-constant-face)))
188 "Face for highlighting author names." 188 "Face for highlighting author names."
189 :version "21.1" 189 :version "21.1"
190 :group 'change-log) 190 :group 'change-log)
191;; backward-compatibility alias 191(define-obsolete-face-alias 'change-log-name-face 'change-log-name "22.1")
192(put 'change-log-name-face 'face-alias 'change-log-name)
193 192
194(defface change-log-email 193(defface change-log-email
195 '((t (:inherit font-lock-variable-name-face))) 194 '((t (:inherit font-lock-variable-name-face)))
196 "Face for highlighting author email addresses." 195 "Face for highlighting author email addresses."
197 :version "21.1" 196 :version "21.1"
198 :group 'change-log) 197 :group 'change-log)
199;; backward-compatibility alias 198(define-obsolete-face-alias 'change-log-email-face 'change-log-email "22.1")
200(put 'change-log-email-face 'face-alias 'change-log-email)
201 199
202(defface change-log-file 200(defface change-log-file
203 '((t (:inherit font-lock-function-name-face))) 201 '((t (:inherit font-lock-function-name-face)))
204 "Face for highlighting file names." 202 "Face for highlighting file names."
205 :version "21.1" 203 :version "21.1"
206 :group 'change-log) 204 :group 'change-log)
207;; backward-compatibility alias 205(define-obsolete-face-alias 'change-log-file-face 'change-log-file "22.1")
208(put 'change-log-file-face 'face-alias 'change-log-file)
209 206
210(defface change-log-list 207(defface change-log-list
211 '((t (:inherit font-lock-keyword-face))) 208 '((t (:inherit font-lock-keyword-face)))
212 "Face for highlighting parenthesized lists of functions or variables." 209 "Face for highlighting parenthesized lists of functions or variables."
213 :version "21.1" 210 :version "21.1"
214 :group 'change-log) 211 :group 'change-log)
215;; backward-compatibility alias 212(define-obsolete-face-alias 'change-log-list-face 'change-log-list "22.1")
216(put 'change-log-list-face 'face-alias 'change-log-list)
217 213
218(defface change-log-conditionals 214(defface change-log-conditionals
219 '((t (:inherit font-lock-variable-name-face))) 215 '((t (:inherit font-lock-variable-name-face)))
220 "Face for highlighting conditionals of the form `[...]'." 216 "Face for highlighting conditionals of the form `[...]'."
221 :version "21.1" 217 :version "21.1"
222 :group 'change-log) 218 :group 'change-log)
223;; backward-compatibility alias 219(define-obsolete-face-alias 'change-log-conditionals-face
224(put 'change-log-conditionals-face 'face-alias 'change-log-conditionals) 220 'change-log-conditionals "22.1")
225 221
226(defface change-log-function 222(defface change-log-function
227 '((t (:inherit font-lock-variable-name-face))) 223 '((t (:inherit font-lock-variable-name-face)))
228 "Face for highlighting items of the form `<....>'." 224 "Face for highlighting items of the form `<....>'."
229 :version "21.1" 225 :version "21.1"
230 :group 'change-log) 226 :group 'change-log)
231;; backward-compatibility alias 227(define-obsolete-face-alias 'change-log-function-face
232(put 'change-log-function-face 'face-alias 'change-log-function) 228 'change-log-function "22.1")
233 229
234(defface change-log-acknowledgement 230(defface change-log-acknowledgement
235 '((t (:inherit font-lock-comment-face))) 231 '((t (:inherit font-lock-comment-face)))
236 "Face for highlighting acknowledgments." 232 "Face for highlighting acknowledgments."
237 :version "21.1" 233 :version "21.1"
238 :group 'change-log) 234 :group 'change-log)
239;; backward-compatibility alias 235(define-obsolete-face-alias 'change-log-acknowledgement-face
240(put 'change-log-acknowledgement-face 'face-alias 'change-log-acknowledgement) 236 'change-log-acknowledgement "22.1")
241 237
242(defconst change-log-file-names-re "^\\( +\\|\t\\)\\* \\([^ ,:([\n]+\\)") 238(defconst change-log-file-names-re "^\\( +\\|\t\\)\\* \\([^ ,:([\n]+\\)")
243(defconst change-log-start-entry-re "^\\sw.........[0-9:+ ]*") 239(defconst change-log-start-entry-re "^\\sw.........[0-9:+ ]*")
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index e0413c19d6c..d2a3244e8f9 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -1,7 +1,7 @@
1;;; cus-edit.el --- tools for customizing Emacs and Lisp packages 1;;; cus-edit.el --- tools for customizing Emacs and Lisp packages
2;; 2;;
3;; Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
4;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5;; 5;;
6;; Author: Per Abrahamsen <abraham@dina.kvl.dk> 6;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
7;; Maintainer: FSF 7;; Maintainer: FSF
@@ -1813,8 +1813,7 @@ item in another window.\n\n"))
1813 (:weight bold :slant italic :underline t))) 1813 (:weight bold :slant italic :underline t)))
1814 "Face used when the customize item is invalid." 1814 "Face used when the customize item is invalid."
1815 :group 'custom-magic-faces) 1815 :group 'custom-magic-faces)
1816;; backward-compatibility alias 1816(define-obsolete-face-alias 'custom-invalid-face 'custom-invalid "22.1")
1817(put 'custom-invalid-face 'face-alias 'custom-invalid)
1818 1817
1819(defface custom-rogue '((((class color)) 1818(defface custom-rogue '((((class color))
1820 (:foreground "pink" :background "black")) 1819 (:foreground "pink" :background "black"))
@@ -1822,8 +1821,7 @@ item in another window.\n\n"))
1822 (:underline t))) 1821 (:underline t)))
1823 "Face used when the customize item is not defined for customization." 1822 "Face used when the customize item is not defined for customization."
1824 :group 'custom-magic-faces) 1823 :group 'custom-magic-faces)
1825;; backward-compatibility alias 1824(define-obsolete-face-alias 'custom-rogue-face 'custom-rogue "22.1")
1826(put 'custom-rogue-face 'face-alias 'custom-rogue)
1827 1825
1828(defface custom-modified '((((min-colors 88) (class color)) 1826(defface custom-modified '((((min-colors 88) (class color))
1829 (:foreground "white" :background "blue1")) 1827 (:foreground "white" :background "blue1"))
@@ -1833,8 +1831,7 @@ item in another window.\n\n"))
1833 (:slant italic :bold))) 1831 (:slant italic :bold)))
1834 "Face used when the customize item has been modified." 1832 "Face used when the customize item has been modified."
1835 :group 'custom-magic-faces) 1833 :group 'custom-magic-faces)
1836;; backward-compatibility alias 1834(define-obsolete-face-alias 'custom-modified-face 'custom-modified "22.1")
1837(put 'custom-modified-face 'face-alias 'custom-modified)
1838 1835
1839(defface custom-set '((((min-colors 88) (class color)) 1836(defface custom-set '((((min-colors 88) (class color))
1840 (:foreground "blue1" :background "white")) 1837 (:foreground "blue1" :background "white"))
@@ -1844,8 +1841,7 @@ item in another window.\n\n"))
1844 (:slant italic))) 1841 (:slant italic)))
1845 "Face used when the customize item has been set." 1842 "Face used when the customize item has been set."
1846 :group 'custom-magic-faces) 1843 :group 'custom-magic-faces)
1847;; backward-compatibility alias 1844(define-obsolete-face-alias 'custom-set-face 'custom-set "22.1")
1848(put 'custom-set-face 'face-alias 'custom-set)
1849 1845
1850(defface custom-changed '((((min-colors 88) (class color)) 1846(defface custom-changed '((((min-colors 88) (class color))
1851 (:foreground "white" :background "blue1")) 1847 (:foreground "white" :background "blue1"))
@@ -1855,8 +1851,7 @@ item in another window.\n\n"))
1855 (:slant italic))) 1851 (:slant italic)))
1856 "Face used when the customize item has been changed." 1852 "Face used when the customize item has been changed."
1857 :group 'custom-magic-faces) 1853 :group 'custom-magic-faces)
1858;; backward-compatibility alias 1854(define-obsolete-face-alias 'custom-changed-face 'custom-changed "22.1")
1859(put 'custom-changed-face 'face-alias 'custom-changed)
1860 1855
1861(defface custom-themed '((((min-colors 88) (class color)) 1856(defface custom-themed '((((min-colors 88) (class color))
1862 (:foreground "white" :background "blue1")) 1857 (:foreground "white" :background "blue1"))
@@ -1870,8 +1865,7 @@ item in another window.\n\n"))
1870(defface custom-saved '((t (:underline t))) 1865(defface custom-saved '((t (:underline t)))
1871 "Face used when the customize item has been saved." 1866 "Face used when the customize item has been saved."
1872 :group 'custom-magic-faces) 1867 :group 'custom-magic-faces)
1873;; backward-compatibility alias 1868(define-obsolete-face-alias 'custom-saved-face 'custom-saved "22.1")
1874(put 'custom-saved-face 'face-alias 'custom-saved)
1875 1869
1876(defconst custom-magic-alist 1870(defconst custom-magic-alist
1877 '((nil "#" underline "\ 1871 '((nil "#" underline "\
@@ -2068,8 +2062,7 @@ and `face'."
2068 "Face for custom buffer buttons if `custom-raised-buttons' is non-nil." 2062 "Face for custom buffer buttons if `custom-raised-buttons' is non-nil."
2069 :version "21.1" 2063 :version "21.1"
2070 :group 'custom-faces) 2064 :group 'custom-faces)
2071;; backward-compatibility alias 2065(define-obsolete-face-alias 'custom-button-face 'custom-button "22.1")
2072(put 'custom-button-face 'face-alias 'custom-button)
2073 2066
2074(defface custom-button-mouse 2067(defface custom-button-mouse
2075 '((((type x w32 ns) (class color)) 2068 '((((type x w32 ns) (class color))
@@ -2105,8 +2098,8 @@ and `face'."
2105 "Face for pressed custom buttons if `custom-raised-buttons' is non-nil." 2098 "Face for pressed custom buttons if `custom-raised-buttons' is non-nil."
2106 :version "21.1" 2099 :version "21.1"
2107 :group 'custom-faces) 2100 :group 'custom-faces)
2108;; backward-compatibility alias 2101(define-obsolete-face-alias 'custom-button-pressed-face
2109(put 'custom-button-pressed-face 'face-alias 'custom-button-pressed) 2102 'custom-button-pressed "22.1")
2110 2103
2111(defface custom-button-pressed-unraised 2104(defface custom-button-pressed-unraised
2112 '((default :inherit custom-button-unraised) 2105 '((default :inherit custom-button-unraised)
@@ -2124,8 +2117,8 @@ and `face'."
2124(defface custom-documentation '((t nil)) 2117(defface custom-documentation '((t nil))
2125 "Face used for documentation strings in customization buffers." 2118 "Face used for documentation strings in customization buffers."
2126 :group 'custom-faces) 2119 :group 'custom-faces)
2127;; backward-compatibility alias 2120(define-obsolete-face-alias 'custom-documentation-face
2128(put 'custom-documentation-face 'face-alias 'custom-documentation) 2121 'custom-documentation "22.1")
2129 2122
2130(defface custom-state '((((class color) 2123(defface custom-state '((((class color)
2131 (background dark)) 2124 (background dark))
@@ -2136,8 +2129,7 @@ and `face'."
2136 (t nil)) 2129 (t nil))
2137 "Face used for State descriptions in the customize buffer." 2130 "Face used for State descriptions in the customize buffer."
2138 :group 'custom-faces) 2131 :group 'custom-faces)
2139;; backward-compatibility alias 2132(define-obsolete-face-alias 'custom-state-face 'custom-state "22.1")
2140(put 'custom-state-face 'face-alias 'custom-state)
2141 2133
2142(defface custom-link 2134(defface custom-link
2143 '((t :inherit link)) 2135 '((t :inherit link))
@@ -2370,8 +2362,7 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"."
2370 "Face used for comments on variables or faces." 2362 "Face used for comments on variables or faces."
2371 :version "21.1" 2363 :version "21.1"
2372 :group 'custom-faces) 2364 :group 'custom-faces)
2373;; backward-compatibility alias 2365(define-obsolete-face-alias 'custom-comment-face 'custom-comment "22.1")
2374(put 'custom-comment-face 'face-alias 'custom-comment)
2375 2366
2376;; like font-lock-comment-face 2367;; like font-lock-comment-face
2377(defface custom-comment-tag 2368(defface custom-comment-tag
@@ -2384,8 +2375,7 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"."
2384 (t (:weight bold))) 2375 (t (:weight bold)))
2385 "Face used for the comment tag on variables or faces." 2376 "Face used for the comment tag on variables or faces."
2386 :group 'custom-faces) 2377 :group 'custom-faces)
2387;; backward-compatibility alias 2378(define-obsolete-face-alias 'custom-comment-tag-face 'custom-comment-tag "22.1")
2388(put 'custom-comment-tag-face 'face-alias 'custom-comment-tag)
2389 2379
2390(define-widget 'custom-comment 'string 2380(define-widget 'custom-comment 'string
2391 "User comment." 2381 "User comment."
@@ -2438,14 +2428,14 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"."
2438 (t (:weight bold))) 2428 (t (:weight bold)))
2439 "Face used for unpushable variable tags." 2429 "Face used for unpushable variable tags."
2440 :group 'custom-faces) 2430 :group 'custom-faces)
2441;; backward-compatibility alias 2431(define-obsolete-face-alias 'custom-variable-tag-face
2442(put 'custom-variable-tag-face 'face-alias 'custom-variable-tag) 2432 'custom-variable-tag "22.1")
2443 2433
2444(defface custom-variable-button '((t (:underline t :weight bold))) 2434(defface custom-variable-button '((t (:underline t :weight bold)))
2445 "Face used for pushable variable tags." 2435 "Face used for pushable variable tags."
2446 :group 'custom-faces) 2436 :group 'custom-faces)
2447;; backward-compatibility alias 2437(define-obsolete-face-alias 'custom-variable-button-face
2448(put 'custom-variable-button-face 'face-alias 'custom-variable-button) 2438 'custom-variable-button "22.1")
2449 2439
2450(defcustom custom-variable-default-form 'edit 2440(defcustom custom-variable-default-form 'edit
2451 "Default form of displaying variable values." 2441 "Default form of displaying variable values."
@@ -3217,8 +3207,7 @@ Only match frames that support the specified face attributes.")
3217 `((t :inherit custom-variable-tag)) 3207 `((t :inherit custom-variable-tag))
3218 "Face used for face tags." 3208 "Face used for face tags."
3219 :group 'custom-faces) 3209 :group 'custom-faces)
3220;; backward-compatibility alias 3210(define-obsolete-face-alias 'custom-face-tag-face 'custom-face-tag "22.1")
3221(put 'custom-face-tag-face 'face-alias 'custom-face-tag)
3222 3211
3223(defcustom custom-face-default-form 'selected 3212(defcustom custom-face-default-form 'selected
3224 "Default form of displaying face definition." 3213 "Default form of displaying face definition."
@@ -3802,8 +3791,7 @@ and so forth. The remaining group tags are shown with `custom-group-tag'."
3802 (t (:weight bold))) 3791 (t (:weight bold)))
3803 "Face used for group tags." 3792 "Face used for group tags."
3804 :group 'custom-faces) 3793 :group 'custom-faces)
3805;; backward-compatibility alias 3794(define-obsolete-face-alias 'custom-group-tag-face-1 'custom-group-tag-1 "22.1")
3806(put 'custom-group-tag-face-1 'face-alias 'custom-group-tag-1)
3807 3795
3808(defface custom-group-tag 3796(defface custom-group-tag
3809 `((((class color) 3797 `((((class color)
@@ -3818,8 +3806,7 @@ and so forth. The remaining group tags are shown with `custom-group-tag'."
3818 (t (:weight bold))) 3806 (t (:weight bold)))
3819 "Face used for low level group tags." 3807 "Face used for low level group tags."
3820 :group 'custom-faces) 3808 :group 'custom-faces)
3821;; backward-compatibility alias 3809(define-obsolete-face-alias 'custom-group-tag-face 'custom-group-tag "22.1")
3822(put 'custom-group-tag-face 'face-alias 'custom-group-tag)
3823 3810
3824(define-widget 'custom-group 'custom 3811(define-widget 'custom-group 'custom
3825 "Customize group." 3812 "Customize group."
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el
index cf4947d20fd..56bcde521ac 100644
--- a/lisp/diff-mode.el
+++ b/lisp/diff-mode.el
@@ -1,7 +1,7 @@
1;;; diff-mode.el --- a mode for viewing/editing context diffs 1;;; diff-mode.el --- a mode for viewing/editing context diffs
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,2005, 2006,
4;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2007, 2008, 2009 Free Software Foundation, Inc.
5 5
6;; Author: Stefan Monnier <monnier@iro.umontreal.ca> 6;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
7;; Keywords: convenience patch diff 7;; Keywords: convenience patch diff
@@ -242,8 +242,7 @@ try to refine the current hunk, as well."
242 (t :weight bold)) 242 (t :weight bold))
243 "`diff-mode' face inherited by hunk and index header faces." 243 "`diff-mode' face inherited by hunk and index header faces."
244 :group 'diff-mode) 244 :group 'diff-mode)
245;; backward-compatibility alias 245(define-obsolete-face-alias 'diff-header-face 'diff-header "22.1")
246(put 'diff-header-face 'face-alias 'diff-header)
247(defvar diff-header-face 'diff-header) 246(defvar diff-header-face 'diff-header)
248 247
249(defface diff-file-header 248(defface diff-file-header
@@ -258,40 +257,35 @@ try to refine the current hunk, as well."
258 (t :weight bold)) ; :height 1.3 257 (t :weight bold)) ; :height 1.3
259 "`diff-mode' face used to highlight file header lines." 258 "`diff-mode' face used to highlight file header lines."
260 :group 'diff-mode) 259 :group 'diff-mode)
261;; backward-compatibility alias 260(define-obsolete-face-alias 'diff-file-header-face 'diff-file-header "22.1")
262(put 'diff-file-header-face 'face-alias 'diff-file-header)
263(defvar diff-file-header-face 'diff-file-header) 261(defvar diff-file-header-face 'diff-file-header)
264 262
265(defface diff-index 263(defface diff-index
266 '((t :inherit diff-file-header)) 264 '((t :inherit diff-file-header))
267 "`diff-mode' face used to highlight index header lines." 265 "`diff-mode' face used to highlight index header lines."
268 :group 'diff-mode) 266 :group 'diff-mode)
269;; backward-compatibility alias 267(define-obsolete-face-alias 'diff-index-face 'diff-index "22.1")
270(put 'diff-index-face 'face-alias 'diff-index)
271(defvar diff-index-face 'diff-index) 268(defvar diff-index-face 'diff-index)
272 269
273(defface diff-hunk-header 270(defface diff-hunk-header
274 '((t :inherit diff-header)) 271 '((t :inherit diff-header))
275 "`diff-mode' face used to highlight hunk header lines." 272 "`diff-mode' face used to highlight hunk header lines."
276 :group 'diff-mode) 273 :group 'diff-mode)
277;; backward-compatibility alias 274(define-obsolete-face-alias 'diff-hunk-header-face 'diff-hunk-header "22.1")
278(put 'diff-hunk-header-face 'face-alias 'diff-hunk-header)
279(defvar diff-hunk-header-face 'diff-hunk-header) 275(defvar diff-hunk-header-face 'diff-hunk-header)
280 276
281(defface diff-removed 277(defface diff-removed
282 '((t :inherit diff-changed)) 278 '((t :inherit diff-changed))
283 "`diff-mode' face used to highlight removed lines." 279 "`diff-mode' face used to highlight removed lines."
284 :group 'diff-mode) 280 :group 'diff-mode)
285;; backward-compatibility alias 281(define-obsolete-face-alias 'diff-removed-face 'diff-removed "22.1")
286(put 'diff-removed-face 'face-alias 'diff-removed)
287(defvar diff-removed-face 'diff-removed) 282(defvar diff-removed-face 'diff-removed)
288 283
289(defface diff-added 284(defface diff-added
290 '((t :inherit diff-changed)) 285 '((t :inherit diff-changed))
291 "`diff-mode' face used to highlight added lines." 286 "`diff-mode' face used to highlight added lines."
292 :group 'diff-mode) 287 :group 'diff-mode)
293;; backward-compatibility alias 288(define-obsolete-face-alias 'diff-added-face 'diff-added "22.1")
294(put 'diff-added-face 'face-alias 'diff-added)
295(defvar diff-added-face 'diff-added) 289(defvar diff-added-face 'diff-added)
296 290
297(defface diff-changed 291(defface diff-changed
@@ -301,8 +295,7 @@ try to refine the current hunk, as well."
301 :foreground "yellow" :weight bold :slant italic)) 295 :foreground "yellow" :weight bold :slant italic))
302 "`diff-mode' face used to highlight changed lines." 296 "`diff-mode' face used to highlight changed lines."
303 :group 'diff-mode) 297 :group 'diff-mode)
304;; backward-compatibility alias 298(define-obsolete-face-alias 'diff-changed-face 'diff-changed "22.1")
305(put 'diff-changed-face 'face-alias 'diff-changed)
306(defvar diff-changed-face 'diff-changed) 299(defvar diff-changed-face 'diff-changed)
307 300
308(defface diff-indicator-removed 301(defface diff-indicator-removed
@@ -330,24 +323,21 @@ try to refine the current hunk, as well."
330 '((t :inherit diff-header)) 323 '((t :inherit diff-header))
331 "`diff-mode' face used to highlight function names produced by \"diff -p\"." 324 "`diff-mode' face used to highlight function names produced by \"diff -p\"."
332 :group 'diff-mode) 325 :group 'diff-mode)
333;; backward-compatibility alias 326(define-obsolete-face-alias 'diff-function-face 'diff-function "22.1")
334(put 'diff-function-face 'face-alias 'diff-function)
335(defvar diff-function-face 'diff-function) 327(defvar diff-function-face 'diff-function)
336 328
337(defface diff-context 329(defface diff-context
338 '((((class color grayscale) (min-colors 88)) :inherit shadow)) 330 '((((class color grayscale) (min-colors 88)) :inherit shadow))
339 "`diff-mode' face used to highlight context and other side-information." 331 "`diff-mode' face used to highlight context and other side-information."
340 :group 'diff-mode) 332 :group 'diff-mode)
341;; backward-compatibility alias 333(define-obsolete-face-alias 'diff-context-face 'diff-context "22.1")
342(put 'diff-context-face 'face-alias 'diff-context)
343(defvar diff-context-face 'diff-context) 334(defvar diff-context-face 'diff-context)
344 335
345(defface diff-nonexistent 336(defface diff-nonexistent
346 '((t :inherit diff-file-header)) 337 '((t :inherit diff-file-header))
347 "`diff-mode' face used to highlight nonexistent files in recursive diffs." 338 "`diff-mode' face used to highlight nonexistent files in recursive diffs."
348 :group 'diff-mode) 339 :group 'diff-mode)
349;; backward-compatibility alias 340(define-obsolete-face-alias 'diff-nonexistent-face 'diff-nonexistent "22.1")
350(put 'diff-nonexistent-face 'face-alias 'diff-nonexistent)
351(defvar diff-nonexistent-face 'diff-nonexistent) 341(defvar diff-nonexistent-face 'diff-nonexistent)
352 342
353(defconst diff-yank-handler '(diff-yank-function)) 343(defconst diff-yank-handler '(diff-yank-function))
diff --git a/lisp/generic-x.el b/lisp/generic-x.el
index 3677c9732a9..06e663441bd 100644
--- a/lisp/generic-x.el
+++ b/lisp/generic-x.el
@@ -1,7 +1,7 @@
1;;; generic-x.el --- A collection of generic modes 1;;; generic-x.el --- A collection of generic modes
2 2
3;; Copyright (C) 1997, 1998, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 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: Peter Breton <pbreton@cs.umb.edu> 6;; Author: Peter Breton <pbreton@cs.umb.edu>
7;; Created: Tue Oct 08 1996 7;; Created: Tue Oct 08 1996
@@ -1775,8 +1775,7 @@ like an INI file. You can add this hook to `find-file-hook'."
1775 (t (:weight bold))) 1775 (t (:weight bold)))
1776 "Font Lock mode face used to highlight TABs." 1776 "Font Lock mode face used to highlight TABs."
1777 :group 'generic-x) 1777 :group 'generic-x)
1778;; backward-compatibility alias 1778(define-obsolete-face-alias 'show-tabs-tab-face 'show-tabs-tab "22.1")
1779(put 'show-tabs-tab-face 'face-alias 'show-tabs-tab)
1780 1779
1781(defface show-tabs-space 1780(defface show-tabs-space
1782 '((((class grayscale) (background light)) (:background "DimGray" :weight bold)) 1781 '((((class grayscale) (background light)) (:background "DimGray" :weight bold))
@@ -1786,8 +1785,7 @@ like an INI file. You can add this hook to `find-file-hook'."
1786 (t (:weight bold))) 1785 (t (:weight bold)))
1787 "Font Lock mode face used to highlight spaces." 1786 "Font Lock mode face used to highlight spaces."
1788 :group 'generic-x) 1787 :group 'generic-x)
1789;; backward-compatibility alias 1788(define-obsolete-face-alias 'show-tabs-space-face 'show-tabs-space "22.1")
1790(put 'show-tabs-space-face 'face-alias 'show-tabs-space)
1791 1789
1792(define-generic-mode show-tabs-generic-mode 1790(define-generic-mode show-tabs-generic-mode
1793 nil ;; no comment char 1791 nil ;; no comment char
diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el
index d24274aa13c..8b6a884424b 100644
--- a/lisp/hilit-chg.el
+++ b/lisp/hilit-chg.el
@@ -1,7 +1,7 @@
1;;; hilit-chg.el --- minor mode displaying buffer changes with special face 1;;; hilit-chg.el --- minor mode displaying buffer changes with special face
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: Richard Sharman <rsharman@pobox.com> 6;; Author: Richard Sharman <rsharman@pobox.com>
7;; Keywords: faces 7;; Keywords: faces
@@ -195,8 +195,8 @@
195 (t (:inverse-video t))) 195 (t (:inverse-video t)))
196 "Face used for highlighting changes." 196 "Face used for highlighting changes."
197 :group 'highlight-changes) 197 :group 'highlight-changes)
198;; backward-compatibility alias 198(define-obsolete-face-alias 'highlight-changes-face
199(put 'highlight-changes-face 'face-alias 'highlight-changes) 199 'highlight-changes "22.1")
200 200
201;; This looks pretty ugly, actually. Maybe the underline should be removed. 201;; This looks pretty ugly, actually. Maybe the underline should be removed.
202(defface highlight-changes-delete 202(defface highlight-changes-delete
@@ -205,13 +205,11 @@
205 (t (:inverse-video t))) 205 (t (:inverse-video t)))
206 "Face used for highlighting deletions." 206 "Face used for highlighting deletions."
207 :group 'highlight-changes) 207 :group 'highlight-changes)
208;; backward-compatibility alias 208(define-obsolete-face-alias 'highlight-changes-delete-face
209(put 'highlight-changes-delete-face 'face-alias 'highlight-changes-delete) 209 'highlight-changes-delete "22.1")
210
211 210
212 211
213;; A (not very good) default list of colors to rotate through. 212;; A (not very good) default list of colors to rotate through.
214;;
215(define-obsolete-variable-alias 'highlight-changes-colours 213(define-obsolete-variable-alias 'highlight-changes-colours
216 'highlight-changes-colors "22.1") 214 'highlight-changes-colors "22.1")
217 215
diff --git a/lisp/info.el b/lisp/info.el
index be61127176c..c0caf742877 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -83,32 +83,28 @@ The Lisp code is executed when the node is selected.")
83 (t :height 1.2 :inherit info-title-2)) 83 (t :height 1.2 :inherit info-title-2))
84 "Face for info titles at level 1." 84 "Face for info titles at level 1."
85 :group 'info) 85 :group 'info)
86;; backward-compatibility alias 86(define-obsolete-face-alias 'Info-title-1-face 'info-title-1 "22.1")
87(put 'Info-title-1-face 'face-alias 'info-title-1)
88 87
89(defface info-title-2 88(defface info-title-2
90 '((((type tty pc) (class color)) :foreground "lightblue" :weight bold) 89 '((((type tty pc) (class color)) :foreground "lightblue" :weight bold)
91 (t :height 1.2 :inherit info-title-3)) 90 (t :height 1.2 :inherit info-title-3))
92 "Face for info titles at level 2." 91 "Face for info titles at level 2."
93 :group 'info) 92 :group 'info)
94;; backward-compatibility alias 93(define-obsolete-face-alias 'Info-title-2-face 'info-title-2 "22.1")
95(put 'Info-title-2-face 'face-alias 'info-title-2)
96 94
97(defface info-title-3 95(defface info-title-3
98 '((((type tty pc) (class color)) :weight bold) 96 '((((type tty pc) (class color)) :weight bold)
99 (t :height 1.2 :inherit info-title-4)) 97 (t :height 1.2 :inherit info-title-4))
100 "Face for info titles at level 3." 98 "Face for info titles at level 3."
101 :group 'info) 99 :group 'info)
102;; backward-compatibility alias 100(define-obsolete-face-alias 'Info-title-3-face 'info-title-3 "22.1")
103(put 'Info-title-3-face 'face-alias 'info-title-3)
104 101
105(defface info-title-4 102(defface info-title-4
106 '((((type tty pc) (class color)) :weight bold) 103 '((((type tty pc) (class color)) :weight bold)
107 (t :weight bold :inherit variable-pitch)) 104 (t :weight bold :inherit variable-pitch))
108 "Face for info titles at level 4." 105 "Face for info titles at level 4."
109 :group 'info) 106 :group 'info)
110;; backward-compatibility alias 107(define-obsolete-face-alias 'Info-title-4-face 'info-title-4 "22.1")
111(put 'Info-title-4-face 'face-alias 'info-title-4)
112 108
113(defface info-menu-header 109(defface info-menu-header
114 '((((type tty pc)) 110 '((((type tty pc))
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 663142ec687..30873e8ceeb 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1,7 +1,7 @@
1;;; isearch.el --- incremental search minor mode 1;;; isearch.el --- incremental search minor mode
2 2
3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001,
4;; 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4;; 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
5;; Free Software Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> 7;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu>
@@ -322,7 +322,7 @@ A value of nil means highlight all matches."
322 "Face for lazy highlighting of matches other than the current one." 322 "Face for lazy highlighting of matches other than the current one."
323 :group 'lazy-highlight 323 :group 'lazy-highlight
324 :group 'basic-faces) 324 :group 'basic-faces)
325(put 'isearch-lazy-highlight-face 'face-alias 'lazy-highlight) 325(define-obsolete-face-alias 'isearch-lazy-highlight-face 'lazy-highlight "22.1")
326(defvar lazy-highlight-face 'lazy-highlight) 326(defvar lazy-highlight-face 'lazy-highlight)
327(define-obsolete-variable-alias 'isearch-lazy-highlight-face 327(define-obsolete-variable-alias 'isearch-lazy-highlight-face
328 'lazy-highlight-face 328 'lazy-highlight-face
diff --git a/lisp/log-view.el b/lisp/log-view.el
index 8b9c74660c5..01fb0b2f0a8 100644
--- a/lisp/log-view.el
+++ b/lisp/log-view.el
@@ -1,7 +1,7 @@
1;;; log-view.el --- Major mode for browsing RCS/CVS/SCCS log output 1;;; log-view.el --- Major mode for browsing RCS/CVS/SCCS log output
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2008, 2009 Free Software Foundation, Inc.
5 5
6;; Author: Stefan Monnier <monnier@iro.umontreal.ca> 6;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
7;; Keywords: rcs sccs cvs log version-control 7;; Keywords: rcs sccs cvs log version-control
@@ -178,8 +178,7 @@
178 (t (:weight bold))) 178 (t (:weight bold)))
179 "Face for the file header line in `log-view-mode'." 179 "Face for the file header line in `log-view-mode'."
180 :group 'log-view) 180 :group 'log-view)
181;; backward-compatibility alias 181(define-obsolete-face-alias 'log-view-file-face 'log-view-file "22.1")
182(put 'log-view-file-face 'face-alias 'log-view-file)
183(defvar log-view-file-face 'log-view-file) 182(defvar log-view-file-face 'log-view-file)
184 183
185(defface log-view-message 184(defface log-view-message
@@ -189,7 +188,7 @@
189 "Face for the message header line in `log-view-mode'." 188 "Face for the message header line in `log-view-mode'."
190 :group 'log-view) 189 :group 'log-view)
191;; backward-compatibility alias 190;; backward-compatibility alias
192(put 'log-view-message-face 'face-alias 'log-view-message) 191(define-obsolete-face-alias 'log-view-message-face 'log-view-message "22.1")
193(defvar log-view-message-face 'log-view-message) 192(defvar log-view-message-face 'log-view-message)
194 193
195(defvar log-view-file-re 194(defvar log-view-file-re
diff --git a/lisp/obsolete/old-whitespace.el b/lisp/obsolete/old-whitespace.el
index 017aeb69f09..94592f61d43 100644
--- a/lisp/obsolete/old-whitespace.el
+++ b/lisp/obsolete/old-whitespace.el
@@ -1,7 +1,7 @@
1;;; whitespace.el --- warn about and clean bogus whitespaces in the file 1;;; whitespace.el --- warn about and clean bogus whitespaces in the file
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1999, 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: Rajesh Vaidheeswarran <rv@gnu.org> 6;; Author: Rajesh Vaidheeswarran <rv@gnu.org>
7;; Keywords: convenience 7;; Keywords: convenience
@@ -308,8 +308,8 @@ To disable timer scans, set this to zero."
308 (:background "white"))) 308 (:background "white")))
309 "Face used for highlighting the bogus whitespaces that exist in the buffer." 309 "Face used for highlighting the bogus whitespaces that exist in the buffer."
310 :group 'whitespace-faces) 310 :group 'whitespace-faces)
311;; backward-compatibility alias 311(define-obsolete-face-alias 'whitespace-highlight-face
312(put 'whitespace-highlight-face 'face-alias 'whitespace-highlight) 312 'whitespace-highlight "22.1")
313 313
314(if (not (assoc 'whitespace-mode minor-mode-alist)) 314(if (not (assoc 'whitespace-mode minor-mode-alist))
315 (setq minor-mode-alist (cons '(whitespace-mode whitespace-mode-line) 315 (setq minor-mode-alist (cons '(whitespace-mode whitespace-mode-line)
diff --git a/lisp/paren.el b/lisp/paren.el
index 9648471d373..d5607c23f65 100644
--- a/lisp/paren.el
+++ b/lisp/paren.el
@@ -1,7 +1,7 @@
1;;; paren.el --- highlight matching paren 1;;; paren.el --- highlight matching paren
2 2
3;; Copyright (C) 1993, 1996, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1996, 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: rms@gnu.org 6;; Author: rms@gnu.org
7;; Maintainer: FSF 7;; Maintainer: FSF
@@ -87,16 +87,15 @@ otherwise)."
87 :background "gray")) 87 :background "gray"))
88 "Show Paren mode face used for a matching paren." 88 "Show Paren mode face used for a matching paren."
89 :group 'paren-showing-faces) 89 :group 'paren-showing-faces)
90;; backward-compatibility alias 90(define-obsolete-face-alias 'show-paren-match-face 'show-paren-match "22.1")
91(put 'show-paren-match-face 'face-alias 'show-paren-match)
92 91
93(defface show-paren-mismatch 92(defface show-paren-mismatch
94 '((((class color)) (:foreground "white" :background "purple")) 93 '((((class color)) (:foreground "white" :background "purple"))
95 (t (:inverse-video t))) 94 (t (:inverse-video t)))
96 "Show Paren mode face used for a mismatching paren." 95 "Show Paren mode face used for a mismatching paren."
97 :group 'paren-showing-faces) 96 :group 'paren-showing-faces)
98;; backward-compatibility alias 97(define-obsolete-face-alias 'show-paren-mismatch-face
99(put 'show-paren-mismatch-face 'face-alias 'show-paren-mismatch) 98 'show-paren-mismatch "22.1")
100 99
101(defvar show-paren-highlight-openparen t 100(defvar show-paren-highlight-openparen t
102 "*Non-nil turns on openparen highlighting when matching forward.") 101 "*Non-nil turns on openparen highlighting when matching forward.")
diff --git a/lisp/pcvs-info.el b/lisp/pcvs-info.el
index fa7f3f6cdc3..d1c60a6a96a 100644
--- a/lisp/pcvs-info.el
+++ b/lisp/pcvs-info.el
@@ -70,8 +70,7 @@ to confuse some users sometimes."
70 (t (:weight bold))) 70 (t (:weight bold)))
71 "PCL-CVS face used to highlight directory changes." 71 "PCL-CVS face used to highlight directory changes."
72 :group 'pcl-cvs) 72 :group 'pcl-cvs)
73;; backward-compatibility alias 73(define-obsolete-face-alias 'cvs-header-face 'cvs-header "22.1")
74(put 'cvs-header-face 'face-alias 'cvs-header)
75 74
76(defface cvs-filename 75(defface cvs-filename
77 '((((class color) (background dark)) 76 '((((class color) (background dark))
@@ -81,8 +80,7 @@ to confuse some users sometimes."
81 (t ())) 80 (t ()))
82 "PCL-CVS face used to highlight file names." 81 "PCL-CVS face used to highlight file names."
83 :group 'pcl-cvs) 82 :group 'pcl-cvs)
84;; backward-compatibility alias 83(define-obsolete-face-alias 'cvs-filename-face 'cvs-filename "22.1")
85(put 'cvs-filename-face 'face-alias 'cvs-filename)
86 84
87(defface cvs-unknown 85(defface cvs-unknown
88 '((((class color) (background dark)) 86 '((((class color) (background dark))
@@ -92,8 +90,7 @@ to confuse some users sometimes."
92 (t (:slant italic))) 90 (t (:slant italic)))
93 "PCL-CVS face used to highlight unknown file status." 91 "PCL-CVS face used to highlight unknown file status."
94 :group 'pcl-cvs) 92 :group 'pcl-cvs)
95;; backward-compatibility alias 93(define-obsolete-face-alias 'cvs-unknown-face 'cvs-unknown "22.1")
96(put 'cvs-unknown-face 'face-alias 'cvs-unknown)
97 94
98(defface cvs-handled 95(defface cvs-handled
99 '((((class color) (background dark)) 96 '((((class color) (background dark))
@@ -103,8 +100,7 @@ to confuse some users sometimes."
103 (t ())) 100 (t ()))
104 "PCL-CVS face used to highlight handled file status." 101 "PCL-CVS face used to highlight handled file status."
105 :group 'pcl-cvs) 102 :group 'pcl-cvs)
106;; backward-compatibility alias 103(define-obsolete-face-alias 'cvs-handled-face 'cvs-handled "22.1")
107(put 'cvs-handled-face 'face-alias 'cvs-handled)
108 104
109(defface cvs-need-action 105(defface cvs-need-action
110 '((((class color) (background dark)) 106 '((((class color) (background dark))
@@ -114,8 +110,7 @@ to confuse some users sometimes."
114 (t (:slant italic))) 110 (t (:slant italic)))
115 "PCL-CVS face used to highlight status of files needing action." 111 "PCL-CVS face used to highlight status of files needing action."
116 :group 'pcl-cvs) 112 :group 'pcl-cvs)
117;; backward-compatibility alias 113(define-obsolete-face-alias 'cvs-need-action-face 'cvs-need-action "22.1")
118(put 'cvs-need-action-face 'face-alias 'cvs-need-action)
119 114
120(defface cvs-marked 115(defface cvs-marked
121 '((((min-colors 88) (class color) (background dark)) 116 '((((min-colors 88) (class color) (background dark))
@@ -127,15 +122,13 @@ to confuse some users sometimes."
127 (t (:weight bold))) 122 (t (:weight bold)))
128 "PCL-CVS face used to highlight marked file indicator." 123 "PCL-CVS face used to highlight marked file indicator."
129 :group 'pcl-cvs) 124 :group 'pcl-cvs)
130;; backward-compatibility alias 125(define-obsolete-face-alias 'cvs-marked-face 'cvs-marked "22.1")
131(put 'cvs-marked-face 'face-alias 'cvs-marked)
132 126
133(defface cvs-msg 127(defface cvs-msg
134 '((t (:slant italic))) 128 '((t (:slant italic)))
135 "PCL-CVS face used to highlight CVS messages." 129 "PCL-CVS face used to highlight CVS messages."
136 :group 'pcl-cvs) 130 :group 'pcl-cvs)
137;; backward-compatibility alias 131(define-obsolete-face-alias 'cvs-msg-face 'cvs-msg "22.1")
138(put 'cvs-msg-face 'face-alias 'cvs-msg)
139 132
140(defvar cvs-fi-up-to-date-face 'cvs-handled) 133(defvar cvs-fi-up-to-date-face 'cvs-handled)
141(defvar cvs-fi-unknown-face 'cvs-unknown) 134(defvar cvs-fi-unknown-face 'cvs-unknown)
diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el
index f9cb486eb18..41a77151c1a 100644
--- a/lisp/progmodes/ebrowse.el
+++ b/lisp/progmodes/ebrowse.el
@@ -162,8 +162,7 @@ This space is used to display markers."
162 (t (:foreground "red"))) 162 (t (:foreground "red")))
163 "*The face used for the mark character in the tree." 163 "*The face used for the mark character in the tree."
164 :group 'ebrowse-faces) 164 :group 'ebrowse-faces)
165;; backward-compatibility alias 165(define-obsolete-face-alias 'ebrowse-tree-mark-face 'ebrowse-tree-mark "22.1")
166(put 'ebrowse-tree-mark-face 'face-alias 'ebrowse-tree-mark)
167 166
168 167
169(defface ebrowse-root-class 168(defface ebrowse-root-class
@@ -171,24 +170,21 @@ This space is used to display markers."
171 (t (:weight bold :foreground "blue"))) 170 (t (:weight bold :foreground "blue")))
172 "*The face used for root classes in the tree." 171 "*The face used for root classes in the tree."
173 :group 'ebrowse-faces) 172 :group 'ebrowse-faces)
174;; backward-compatibility alias 173(define-obsolete-face-alias 'ebrowse-root-class-face 'ebrowse-root-class "22.1")
175(put 'ebrowse-root-class-face 'face-alias 'ebrowse-root-class)
176 174
177 175
178(defface ebrowse-file-name 176(defface ebrowse-file-name
179 '((t (:italic t))) 177 '((t (:italic t)))
180 "*The face for filenames displayed in the tree." 178 "*The face for filenames displayed in the tree."
181 :group 'ebrowse-faces) 179 :group 'ebrowse-faces)
182;; backward-compatibility alias 180(define-obsolete-face-alias 'ebrowse-file-name-face 'ebrowse-file-name "22.1")
183(put 'ebrowse-file-name-face 'face-alias 'ebrowse-file-name)
184 181
185 182
186(defface ebrowse-default 183(defface ebrowse-default
187 '((t nil)) 184 '((t nil))
188 "*Face for everything else in the tree not having other faces." 185 "*Face for everything else in the tree not having other faces."
189 :group 'ebrowse-faces) 186 :group 'ebrowse-faces)
190;; backward-compatibility alias 187(define-obsolete-face-alias 'ebrowse-default-face 'ebrowse-default "22.1")
191(put 'ebrowse-default-face 'face-alias 'ebrowse-default)
192 188
193 189
194(defface ebrowse-member-attribute 190(defface ebrowse-member-attribute
@@ -196,16 +192,16 @@ This space is used to display markers."
196 (t (:foreground "red"))) 192 (t (:foreground "red")))
197 "*Face used to display member attributes." 193 "*Face used to display member attributes."
198 :group 'ebrowse-faces) 194 :group 'ebrowse-faces)
199;; backward-compatibility alias 195(define-obsolete-face-alias 'ebrowse-member-attribute-face
200(put 'ebrowse-member-attribute-face 'face-alias 'ebrowse-member-attribute) 196 'ebrowse-member-attribute "22.1")
201 197
202 198
203(defface ebrowse-member-class 199(defface ebrowse-member-class
204 '((t (:foreground "purple"))) 200 '((t (:foreground "purple")))
205 "*Face used to display the class title in member buffers." 201 "*Face used to display the class title in member buffers."
206 :group 'ebrowse-faces) 202 :group 'ebrowse-faces)
207;; backward-compatibility alias 203(define-obsolete-face-alias 'ebrowse-member-class-face
208(put 'ebrowse-member-class-face 'face-alias 'ebrowse-member-class) 204 'ebrowse-member-class "22.1")
209 205
210 206
211(defface ebrowse-progress 207(defface ebrowse-progress
@@ -213,8 +209,7 @@ This space is used to display markers."
213 (t (:background "blue"))) 209 (t (:background "blue")))
214 "*Face for progress indicator." 210 "*Face for progress indicator."
215 :group 'ebrowse-faces) 211 :group 'ebrowse-faces)
216;; backward-compatibility alias 212(define-obsolete-face-alias 'ebrowse-progress-face 'ebrowse-progress "22.1")
217(put 'ebrowse-progress-face 'face-alias 'ebrowse-progress)
218 213
219 214
220 215
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index cff6ec24bf1..7eb3df185e9 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -104,7 +104,7 @@
104 (t (:reverse-video t))) 104 (t (:reverse-video t)))
105 "Face to use for highlighting leading spaces in Font-Lock mode." 105 "Face to use for highlighting leading spaces in Font-Lock mode."
106 :group 'makefile) 106 :group 'makefile)
107(put 'makefile-space-face 'face-alias 'makefile-space) 107(define-obsolete-face-alias 'makefile-space-face 'makefile-space "22.1")
108 108
109(defface makefile-targets 109(defface makefile-targets
110 ;; This needs to go along both with foreground and background colors (i.e. shell) 110 ;; This needs to go along both with foreground and background colors (i.e. shell)
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index d948f9f61f9..70b96ba807d 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -1,7 +1,7 @@
1;;; sh-script.el --- shell-script editing commands for Emacs 1;;; sh-script.el --- shell-script editing commands for Emacs
2 2
3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2001, 2002, 3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2001, 2002, 2003,
4;; 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5 5
6;; Author: Daniel Pfeiffer <occitan@esperanto.org> 6;; Author: Daniel Pfeiffer <occitan@esperanto.org>
7;; Version: 2.0f 7;; Version: 2.0f
@@ -889,9 +889,7 @@ See `sh-feature'.")
889 (:weight bold))) 889 (:weight bold)))
890 "Face to show quoted execs like ``" 890 "Face to show quoted execs like ``"
891 :group 'sh-indentation) 891 :group 'sh-indentation)
892 892(define-obsolete-face-alias 'sh-heredoc-face 'sh-heredoc "22.1")
893;; backward-compatibility alias
894(put 'sh-heredoc-face 'face-alias 'sh-heredoc)
895(defvar sh-heredoc-face 'sh-heredoc) 893(defvar sh-heredoc-face 'sh-heredoc)
896 894
897(defface sh-escaped-newline '((t :inherit font-lock-string-face)) 895(defface sh-escaped-newline '((t :inherit font-lock-string-face))
diff --git a/lisp/smerge-mode.el b/lisp/smerge-mode.el
index a942d09c6a0..289c4afd983 100644
--- a/lisp/smerge-mode.el
+++ b/lisp/smerge-mode.el
@@ -89,8 +89,7 @@ Used in `smerge-diff-base-mine' and related functions."
89 (:foreground "cyan"))) 89 (:foreground "cyan")))
90 "Face for your code." 90 "Face for your code."
91 :group 'smerge) 91 :group 'smerge)
92;; backward-compatibility alias 92(define-obsolete-face-alias 'smerge-mine-face 'smerge-mine "22.1")
93(put 'smerge-mine-face 'face-alias 'smerge-mine)
94(defvar smerge-mine-face 'smerge-mine) 93(defvar smerge-mine-face 'smerge-mine)
95 94
96(defface smerge-other 95(defface smerge-other
@@ -100,8 +99,7 @@ Used in `smerge-diff-base-mine' and related functions."
100 (:foreground "lightgreen"))) 99 (:foreground "lightgreen")))
101 "Face for the other code." 100 "Face for the other code."
102 :group 'smerge) 101 :group 'smerge)
103;; backward-compatibility alias 102(define-obsolete-face-alias 'smerge-other-face 'smerge-other "22.1")
104(put 'smerge-other-face 'face-alias 'smerge-other)
105(defvar smerge-other-face 'smerge-other) 103(defvar smerge-other-face 'smerge-other)
106 104
107(defface smerge-base 105(defface smerge-base
@@ -113,8 +111,7 @@ Used in `smerge-diff-base-mine' and related functions."
113 (:foreground "orange"))) 111 (:foreground "orange")))
114 "Face for the base code." 112 "Face for the base code."
115 :group 'smerge) 113 :group 'smerge)
116;; backward-compatibility alias 114(define-obsolete-face-alias 'smerge-base-face 'smerge-base "22.1")
117(put 'smerge-base-face 'face-alias 'smerge-base)
118(defvar smerge-base-face 'smerge-base) 115(defvar smerge-base-face 'smerge-base)
119 116
120(defface smerge-markers 117(defface smerge-markers
@@ -124,8 +121,7 @@ Used in `smerge-diff-base-mine' and related functions."
124 (:background "grey30"))) 121 (:background "grey30")))
125 "Face for the conflict markers." 122 "Face for the conflict markers."
126 :group 'smerge) 123 :group 'smerge)
127;; backward-compatibility alias 124(define-obsolete-face-alias 'smerge-markers-face 'smerge-markers "22.1")
128(put 'smerge-markers-face 'face-alias 'smerge-markers)
129(defvar smerge-markers-face 'smerge-markers) 125(defvar smerge-markers-face 'smerge-markers)
130 126
131(defface smerge-refined-change 127(defface smerge-refined-change
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)
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index ef89a01e050..e9156e729db 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -104,8 +104,8 @@ This exists as a variable so it can be set locally in certain buffers.")
104 "Face used for documentation text." 104 "Face used for documentation text."
105 :group 'widget-documentation 105 :group 'widget-documentation
106 :group 'widget-faces) 106 :group 'widget-faces)
107;; backward compatibility alias 107(define-obsolete-face-alias 'widget-documentation-face
108(put 'widget-documentation-face 'face-alias 'widget-documentation) 108 'widget-documentation "22.1")
109 109
110(defvar widget-button-face 'widget-button 110(defvar widget-button-face 'widget-button
111 "Face used for buttons in widgets. 111 "Face used for buttons in widgets.
@@ -114,8 +114,7 @@ This exists as a variable so it can be set locally in certain buffers.")
114(defface widget-button '((t (:weight bold))) 114(defface widget-button '((t (:weight bold)))
115 "Face used for widget buttons." 115 "Face used for widget buttons."
116 :group 'widget-faces) 116 :group 'widget-faces)
117;; backward compatibility alias 117(define-obsolete-face-alias 'widget-button-face 'widget-button "22.1")
118(put 'widget-button-face 'face-alias 'widget-button)
119 118
120(defcustom widget-mouse-face 'highlight 119(defcustom widget-mouse-face 'highlight
121 "Face used for widget buttons when the mouse is above them." 120 "Face used for widget buttons when the mouse is above them."
@@ -138,8 +137,7 @@ This exists as a variable so it can be set locally in certain buffers.")
138 :slant italic)) 137 :slant italic))
139 "Face used for editable fields." 138 "Face used for editable fields."
140 :group 'widget-faces) 139 :group 'widget-faces)
141;; backward-compatibility alias 140(define-obsolete-face-alias 'widget-field-face 'widget-field "22.1")
142(put 'widget-field-face 'face-alias 'widget-field)
143 141
144(defface widget-single-line-field '((((type tty)) 142(defface widget-single-line-field '((((type tty))
145 :background "green3" 143 :background "green3"
@@ -154,8 +152,8 @@ This exists as a variable so it can be set locally in certain buffers.")
154 :slant italic)) 152 :slant italic))
155 "Face used for editable fields spanning only a single line." 153 "Face used for editable fields spanning only a single line."
156 :group 'widget-faces) 154 :group 'widget-faces)
157;; backward-compatibility alias 155(define-obsolete-face-alias 'widget-single-line-field-face
158(put 'widget-single-line-field-face 'face-alias 'widget-single-line-field) 156 'widget-single-line-field "22.1")
159 157
160;;; This causes display-table to be loaded, and not usefully. 158;;; This causes display-table to be loaded, and not usefully.
161;;;(defvar widget-single-line-display-table 159;;;(defvar widget-single-line-display-table
@@ -455,8 +453,8 @@ new value.")
455 '((t :inherit shadow)) 453 '((t :inherit shadow))
456 "Face used for inactive widgets." 454 "Face used for inactive widgets."
457 :group 'widget-faces) 455 :group 'widget-faces)
458;; backward-compatibility alias 456(define-obsolete-face-alias 'widget-inactive-face
459(put 'widget-inactive-face 'face-alias 'widget-inactive) 457 'widget-inactive "22.1")
460 458
461(defun widget-specify-inactive (widget from to) 459(defun widget-specify-inactive (widget from to)
462 "Make WIDGET inactive for user modifications." 460 "Make WIDGET inactive for user modifications."
@@ -920,8 +918,8 @@ Recommended as a parent keymap for modes using widgets.")
920 (:weight bold :underline t))) 918 (:weight bold :underline t)))
921 "Face used for pressed buttons." 919 "Face used for pressed buttons."
922 :group 'widget-faces) 920 :group 'widget-faces)
923;; backward-compatibility alias 921(define-obsolete-face-alias 'widget-button-pressed-face
924(put 'widget-button-pressed-face 'face-alias 'widget-button-pressed) 922 'widget-button-pressed "22.1")
925 923
926(defvar widget-button-click-moves-point nil 924(defvar widget-button-click-moves-point nil
927 "If non-nil, `widget-button-click' moves point to a button after invoking it. 925 "If non-nil, `widget-button-click' moves point to a button after invoking it.
diff --git a/lisp/woman.el b/lisp/woman.el
index 90185c6c846..302a96419e0 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -946,25 +946,25 @@ or different fonts."
946 '((t :inherit italic)) 946 '((t :inherit italic))
947 "Face for italic font in man pages." 947 "Face for italic font in man pages."
948 :group 'woman-faces) 948 :group 'woman-faces)
949(put 'woman-italic-face 'face-alias 'woman-italic) 949(define-obsolete-face-alias 'woman-italic-face 'woman-italic "22.1")
950 950
951(defface woman-bold 951(defface woman-bold
952 '((t :inherit bold)) 952 '((t :inherit bold))
953 "Face for bold font in man pages." 953 "Face for bold font in man pages."
954 :group 'woman-faces) 954 :group 'woman-faces)
955(put 'woman-bold-face 'face-alias 'woman-bold) 955(define-obsolete-face-alias 'woman-bold-face 'woman-bold "22.1")
956 956
957(defface woman-unknown 957(defface woman-unknown
958 '((t :inherit font-lock-warning-face)) 958 '((t :inherit font-lock-warning-face))
959 "Face for all unknown fonts in man pages." 959 "Face for all unknown fonts in man pages."
960 :group 'woman-faces) 960 :group 'woman-faces)
961(put 'woman-unknown-face 'face-alias 'woman-unknown) 961(define-obsolete-face-alias 'woman-unknown-face 'woman-unknown "22.1")
962 962
963(defface woman-addition 963(defface woman-addition
964 '((t :inherit font-lock-builtin-face)) 964 '((t :inherit font-lock-builtin-face))
965 "Face for all WoMan additions to man pages." 965 "Face for all WoMan additions to man pages."
966 :group 'woman-faces) 966 :group 'woman-faces)
967(put 'woman-addition-face 'face-alias 'woman-addition) 967(define-obsolete-face-alias 'woman-addition-face 'woman-addition "22.1")
968 968
969(defun woman-default-faces () 969(defun woman-default-faces ()
970 "Set foreground colors of italic and bold faces to their default values." 970 "Set foreground colors of italic and bold faces to their default values."