diff options
| author | Glenn Morris | 2009-09-02 03:06:25 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-09-02 03:06:25 +0000 |
| commit | 9f255bc3a8fd760f67d56ca1191eef5cd13e29c0 (patch) | |
| tree | aa13315027b0e0005e1459fcc821942e61bb0ca2 | |
| parent | 3d493bef43be9d2cc91152043103156d5717d33f (diff) | |
| download | emacs-9f255bc3a8fd760f67d56ca1191eef5cd13e29c0.tar.gz emacs-9f255bc3a8fd760f67d56ca1191eef5cd13e29c0.zip | |
(modeline, modeline-inactive, modeline-highlight, modeline-buffer-id):
Mark these face aliases as obsolete.
| -rw-r--r-- | lisp/faces.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index 95d52db4833..cfb6a8b2961 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -2358,6 +2358,8 @@ terminal type to a different value." | |||
| 2358 | :version "21.1" | 2358 | :version "21.1" |
| 2359 | :group 'mode-line-faces | 2359 | :group 'mode-line-faces |
| 2360 | :group 'basic-faces) | 2360 | :group 'basic-faces) |
| 2361 | ;; No need to define aliases of this form for new faces. | ||
| 2362 | (define-obsolete-face-alias 'modeline 'mode-line "21.1") | ||
| 2361 | 2363 | ||
| 2362 | (defface mode-line-inactive | 2364 | (defface mode-line-inactive |
| 2363 | '((default | 2365 | '((default |
| @@ -2374,6 +2376,7 @@ terminal type to a different value." | |||
| 2374 | :version "22.1" | 2376 | :version "22.1" |
| 2375 | :group 'mode-line-faces | 2377 | :group 'mode-line-faces |
| 2376 | :group 'basic-faces) | 2378 | :group 'basic-faces) |
| 2379 | (define-obsolete-face-alias 'modeline-inactive 'mode-line-inactive "22.1") | ||
| 2377 | 2380 | ||
| 2378 | (defface mode-line-highlight | 2381 | (defface mode-line-highlight |
| 2379 | '((((class color) (min-colors 88)) | 2382 | '((((class color) (min-colors 88)) |
| @@ -2384,6 +2387,7 @@ terminal type to a different value." | |||
| 2384 | :version "22.1" | 2387 | :version "22.1" |
| 2385 | :group 'mode-line-faces | 2388 | :group 'mode-line-faces |
| 2386 | :group 'basic-faces) | 2389 | :group 'basic-faces) |
| 2390 | (define-obsolete-face-alias 'modeline-highlight 'mode-line-highlight "22.1") | ||
| 2387 | 2391 | ||
| 2388 | (defface mode-line-emphasis | 2392 | (defface mode-line-emphasis |
| 2389 | '((t (:weight bold))) | 2393 | '((t (:weight bold))) |
| @@ -2399,12 +2403,7 @@ Use the face `mode-line-highlight' for features that can be selected." | |||
| 2399 | :version "22.1" | 2403 | :version "22.1" |
| 2400 | :group 'mode-line-faces | 2404 | :group 'mode-line-faces |
| 2401 | :group 'basic-faces) | 2405 | :group 'basic-faces) |
| 2402 | 2406 | (define-obsolete-face-alias 'modeline-buffer-id 'mode-line-buffer-id "22.1") | |
| 2403 | ;; Make `modeline' an alias for `mode-line', for compatibility. | ||
| 2404 | (put 'modeline 'face-alias 'mode-line) | ||
| 2405 | (put 'modeline-inactive 'face-alias 'mode-line-inactive) | ||
| 2406 | (put 'modeline-highlight 'face-alias 'mode-line-highlight) | ||
| 2407 | (put 'modeline-buffer-id 'face-alias 'mode-line-buffer-id) | ||
| 2408 | 2407 | ||
| 2409 | (defface header-line | 2408 | (defface header-line |
| 2410 | '((default | 2409 | '((default |