diff options
| author | Mark Oteiza | 2016-06-23 17:13:11 -0400 |
|---|---|---|
| committer | Mark Oteiza | 2016-06-23 17:13:11 -0400 |
| commit | c430f7e23fc2c22f251ace4254e37dea1452dfc3 (patch) | |
| tree | 185aa55fbc57b156e45ae5acce6cefd2267ca35a | |
| parent | 037f82a7e72fa7bdc7b1d507f9b760884aecf2f0 (diff) | |
| download | emacs-c430f7e23fc2c22f251ace4254e37dea1452dfc3.tar.gz emacs-c430f7e23fc2c22f251ace4254e37dea1452dfc3.zip | |
Remove some face aliases obsoleted in 22.1
* lisp/faces.el (modeline-inactive, modeline-highlight, modeline-buffer-id):
* lisp/hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
* lisp/info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face,
Info-title-4-face, info-menu-5):
* lisp/obsolete/old-whitespace.el (whitespace-highlight-face):
* lisp/paren.el (show-paren-match-face, show-paren-mismatch-face):
* lisp/progmodes/make-mode.el (makefile-space-face):
* lisp/textmodes/texinfo.el (texinfo-heading-face): Remove.
(texinfo-font-lock-keywords): Use texinfo-heading face.
* lisp/vc/add-log.el (change-log-date-face, change-log-name-face,
change-log-email-face, change-log-file-face, change-log-list-face,
change-log-conditionals-face, change-log-function-face,
change-log-acknowledgement-face):
* lisp/vc/diff-mode.el (diff-header-face, diff-file-header-face,
diff-index-face, diff-hunk-header-face, diff-removed-face, diff-added-face,
diff-changed-face, diff-function-face, diff-context-face,
diff-nonexistent-face): Remove.
(diff-use-changed-face, diff-font-lock-keywords): Use non-obsolete face
symbols.
(diff-hunk-file-names): Fix comment.
(diff-refine-change): Remove.
(diff-refine-removed, diff-refine-added, diff-refine-hunk): Use
non-obsolete face.
* lisp/vc/log-view.el (log-view-file-face, log-view-message-face): Remove.
(log-view-font-lock-keywords): Use non-obsolete face names.
* lisp/vc/pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face,
cvs-handled-face, cvs-need-action-face, cvs-marked-face, cvs-msg-face):
* lisp/wid-edit.el (widget-documentation-face, widget-button-face,
widget-field-face, widget-single-line-field-face, widget-inactive-face,
widget-button-pressed-face):
* lisp/woman.el (woman-italic-face, woman-bold-face, woman-unknown-face,
woman-addition-face): Remove.
| -rw-r--r-- | lisp/faces.el | 3 | ||||
| -rw-r--r-- | lisp/hilit-chg.el | 5 | ||||
| -rw-r--r-- | lisp/info.el | 5 | ||||
| -rw-r--r-- | lisp/obsolete/old-whitespace.el | 2 | ||||
| -rw-r--r-- | lisp/paren.el | 5 | ||||
| -rw-r--r-- | lisp/progmodes/make-mode.el | 1 | ||||
| -rw-r--r-- | lisp/textmodes/texinfo.el | 5 | ||||
| -rw-r--r-- | lisp/vc/add-log.el | 11 | ||||
| -rw-r--r-- | lisp/vc/diff-mode.el | 71 | ||||
| -rw-r--r-- | lisp/vc/log-view.el | 9 | ||||
| -rw-r--r-- | lisp/vc/pcvs-info.el | 7 | ||||
| -rw-r--r-- | lisp/wid-edit.el | 10 | ||||
| -rw-r--r-- | lisp/woman.el | 4 |
13 files changed, 29 insertions, 109 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index 4193c1e27e8..d5fc3ce834b 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -2518,7 +2518,6 @@ If you set `term-file-prefix' to nil, this function does nothing." | |||
| 2518 | :version "22.1" | 2518 | :version "22.1" |
| 2519 | :group 'mode-line-faces | 2519 | :group 'mode-line-faces |
| 2520 | :group 'basic-faces) | 2520 | :group 'basic-faces) |
| 2521 | (define-obsolete-face-alias 'modeline-inactive 'mode-line-inactive "22.1") | ||
| 2522 | 2521 | ||
| 2523 | (defface mode-line-highlight | 2522 | (defface mode-line-highlight |
| 2524 | '((((class color) (min-colors 88)) | 2523 | '((((class color) (min-colors 88)) |
| @@ -2529,7 +2528,6 @@ If you set `term-file-prefix' to nil, this function does nothing." | |||
| 2529 | :version "22.1" | 2528 | :version "22.1" |
| 2530 | :group 'mode-line-faces | 2529 | :group 'mode-line-faces |
| 2531 | :group 'basic-faces) | 2530 | :group 'basic-faces) |
| 2532 | (define-obsolete-face-alias 'modeline-highlight 'mode-line-highlight "22.1") | ||
| 2533 | 2531 | ||
| 2534 | (defface mode-line-emphasis | 2532 | (defface mode-line-emphasis |
| 2535 | '((t (:weight bold))) | 2533 | '((t (:weight bold))) |
| @@ -2545,7 +2543,6 @@ Use the face `mode-line-highlight' for features that can be selected." | |||
| 2545 | :version "22.1" | 2543 | :version "22.1" |
| 2546 | :group 'mode-line-faces | 2544 | :group 'mode-line-faces |
| 2547 | :group 'basic-faces) | 2545 | :group 'basic-faces) |
| 2548 | (define-obsolete-face-alias 'modeline-buffer-id 'mode-line-buffer-id "22.1") | ||
| 2549 | 2546 | ||
| 2550 | (defface header-line | 2547 | (defface header-line |
| 2551 | '((default | 2548 | '((default |
diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el index 8f042b6b10b..263b5ab3bb5 100644 --- a/lisp/hilit-chg.el +++ b/lisp/hilit-chg.el | |||
| @@ -194,8 +194,6 @@ | |||
| 194 | (t (:inverse-video t))) | 194 | (t (:inverse-video t))) |
| 195 | "Face used for highlighting changes." | 195 | "Face used for highlighting changes." |
| 196 | :group 'highlight-changes) | 196 | :group 'highlight-changes) |
| 197 | (define-obsolete-face-alias 'highlight-changes-face | ||
| 198 | 'highlight-changes "22.1") | ||
| 199 | 197 | ||
| 200 | ;; This looks pretty ugly, actually. Maybe the underline should be removed. | 198 | ;; This looks pretty ugly, actually. Maybe the underline should be removed. |
| 201 | (defface highlight-changes-delete | 199 | (defface highlight-changes-delete |
| @@ -204,9 +202,6 @@ | |||
| 204 | (t (:inverse-video t))) | 202 | (t (:inverse-video t))) |
| 205 | "Face used for highlighting deletions." | 203 | "Face used for highlighting deletions." |
| 206 | :group 'highlight-changes) | 204 | :group 'highlight-changes) |
| 207 | (define-obsolete-face-alias 'highlight-changes-delete-face | ||
| 208 | 'highlight-changes-delete "22.1") | ||
| 209 | |||
| 210 | 205 | ||
| 211 | ;; A (not very good) default list of colors to rotate through. | 206 | ;; A (not very good) default list of colors to rotate through. |
| 212 | (define-obsolete-variable-alias 'highlight-changes-colours | 207 | (define-obsolete-variable-alias 'highlight-changes-colours |
diff --git a/lisp/info.el b/lisp/info.el index 70d218fbca2..bb259bd59eb 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -81,28 +81,24 @@ The Lisp code is executed when the node is selected.") | |||
| 81 | (t :height 1.2 :inherit info-title-2)) | 81 | (t :height 1.2 :inherit info-title-2)) |
| 82 | "Face for info titles at level 1." | 82 | "Face for info titles at level 1." |
| 83 | :group 'info) | 83 | :group 'info) |
| 84 | (define-obsolete-face-alias 'Info-title-1-face 'info-title-1 "22.1") | ||
| 85 | 84 | ||
| 86 | (defface info-title-2 | 85 | (defface info-title-2 |
| 87 | '((((type tty pc) (class color)) :foreground "lightblue" :weight bold) | 86 | '((((type tty pc) (class color)) :foreground "lightblue" :weight bold) |
| 88 | (t :height 1.2 :inherit info-title-3)) | 87 | (t :height 1.2 :inherit info-title-3)) |
| 89 | "Face for info titles at level 2." | 88 | "Face for info titles at level 2." |
| 90 | :group 'info) | 89 | :group 'info) |
| 91 | (define-obsolete-face-alias 'Info-title-2-face 'info-title-2 "22.1") | ||
| 92 | 90 | ||
| 93 | (defface info-title-3 | 91 | (defface info-title-3 |
| 94 | '((((type tty pc) (class color)) :weight bold) | 92 | '((((type tty pc) (class color)) :weight bold) |
| 95 | (t :height 1.2 :inherit info-title-4)) | 93 | (t :height 1.2 :inherit info-title-4)) |
| 96 | "Face for info titles at level 3." | 94 | "Face for info titles at level 3." |
| 97 | :group 'info) | 95 | :group 'info) |
| 98 | (define-obsolete-face-alias 'Info-title-3-face 'info-title-3 "22.1") | ||
| 99 | 96 | ||
| 100 | (defface info-title-4 | 97 | (defface info-title-4 |
| 101 | '((((type tty pc) (class color)) :weight bold) | 98 | '((((type tty pc) (class color)) :weight bold) |
| 102 | (t :weight bold :inherit variable-pitch)) | 99 | (t :weight bold :inherit variable-pitch)) |
| 103 | "Face for info titles at level 4." | 100 | "Face for info titles at level 4." |
| 104 | :group 'info) | 101 | :group 'info) |
| 105 | (define-obsolete-face-alias 'Info-title-4-face 'info-title-4 "22.1") | ||
| 106 | 102 | ||
| 107 | (defface info-menu-header | 103 | (defface info-menu-header |
| 108 | '((((type tty pc)) | 104 | '((((type tty pc)) |
| @@ -119,7 +115,6 @@ The Lisp code is executed when the node is selected.") | |||
| 119 | (t :underline t)) | 115 | (t :underline t)) |
| 120 | "Face for every third `*' in an Info menu." | 116 | "Face for every third `*' in an Info menu." |
| 121 | :group 'info) | 117 | :group 'info) |
| 122 | (define-obsolete-face-alias 'info-menu-5 'info-menu-star "22.1") | ||
| 123 | 118 | ||
| 124 | (defface info-xref | 119 | (defface info-xref |
| 125 | '((t :inherit link)) | 120 | '((t :inherit link)) |
diff --git a/lisp/obsolete/old-whitespace.el b/lisp/obsolete/old-whitespace.el index 63af3693b5c..5119fb003d8 100644 --- a/lisp/obsolete/old-whitespace.el +++ b/lisp/obsolete/old-whitespace.el | |||
| @@ -300,8 +300,6 @@ To disable timer scans, set this to zero." | |||
| 300 | (:background "white"))) | 300 | (:background "white"))) |
| 301 | "Face used for highlighting the bogus whitespaces that exist in the buffer." | 301 | "Face used for highlighting the bogus whitespaces that exist in the buffer." |
| 302 | :group 'whitespace) | 302 | :group 'whitespace) |
| 303 | (define-obsolete-face-alias 'whitespace-highlight-face | ||
| 304 | 'whitespace-highlight "22.1") | ||
| 305 | 303 | ||
| 306 | (if (not (assoc 'whitespace-mode minor-mode-alist)) | 304 | (if (not (assoc 'whitespace-mode minor-mode-alist)) |
| 307 | (setq minor-mode-alist (cons '(whitespace-mode whitespace-mode-line) | 305 | (setq minor-mode-alist (cons '(whitespace-mode whitespace-mode-line) |
diff --git a/lisp/paren.el b/lisp/paren.el index 53eb50077f2..e37cacef485 100644 --- a/lisp/paren.el +++ b/lisp/paren.el | |||
| @@ -81,11 +81,6 @@ whitespace there." | |||
| 81 | :type 'boolean | 81 | :type 'boolean |
| 82 | :version "25.1") | 82 | :version "25.1") |
| 83 | 83 | ||
| 84 | (define-obsolete-face-alias 'show-paren-match-face 'show-paren-match "22.1") | ||
| 85 | |||
| 86 | (define-obsolete-face-alias 'show-paren-mismatch-face | ||
| 87 | 'show-paren-mismatch "22.1") | ||
| 88 | |||
| 89 | (defcustom show-paren-highlight-openparen t | 84 | (defcustom show-paren-highlight-openparen t |
| 90 | "Non-nil turns on openparen highlighting when matching forward. | 85 | "Non-nil turns on openparen highlighting when matching forward. |
| 91 | When nil, and point stands just before an open paren, the paren | 86 | When nil, and point stands just before an open paren, the paren |
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index ee4b1040566..fb714208294 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el | |||
| @@ -103,7 +103,6 @@ | |||
| 103 | (t (:reverse-video t))) | 103 | (t (:reverse-video t))) |
| 104 | "Face to use for highlighting leading spaces in Font-Lock mode." | 104 | "Face to use for highlighting leading spaces in Font-Lock mode." |
| 105 | :group 'makefile) | 105 | :group 'makefile) |
| 106 | (define-obsolete-face-alias 'makefile-space-face 'makefile-space "22.1") | ||
| 107 | 106 | ||
| 108 | (defface makefile-targets | 107 | (defface makefile-targets |
| 109 | ;; This needs to go along both with foreground and background colors (i.e. shell) | 108 | ;; This needs to go along both with foreground and background colors (i.e. shell) |
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index ed6022f9fbb..db9944d9b0e 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el | |||
| @@ -351,8 +351,6 @@ Subexpression 1 is what goes into the corresponding `@end' statement.") | |||
| 351 | '((t (:inherit font-lock-function-name-face))) | 351 | '((t (:inherit font-lock-function-name-face))) |
| 352 | "Face used for section headings in `texinfo-mode'." | 352 | "Face used for section headings in `texinfo-mode'." |
| 353 | :group 'texinfo) | 353 | :group 'texinfo) |
| 354 | (define-obsolete-face-alias 'texinfo-heading-face 'texinfo-heading "22.1") | ||
| 355 | (defvar texinfo-heading-face 'texinfo-heading) | ||
| 356 | 354 | ||
| 357 | (defvar texinfo-font-lock-keywords | 355 | (defvar texinfo-font-lock-keywords |
| 358 | `(;; All but the first had an OVERRIDE of t. | 356 | `(;; All but the first had an OVERRIDE of t. |
| @@ -380,7 +378,8 @@ Subexpression 1 is what goes into the corresponding `@end' statement.") | |||
| 380 | ;; (,texinfo-environment-regexp | 378 | ;; (,texinfo-environment-regexp |
| 381 | ;; 1 (texinfo-clone-environment (match-beginning 1) (match-end 1)) keep) | 379 | ;; 1 (texinfo-clone-environment (match-beginning 1) (match-end 1)) keep) |
| 382 | (,(concat "^@" (regexp-opt (mapcar 'car texinfo-section-list) t) | 380 | (,(concat "^@" (regexp-opt (mapcar 'car texinfo-section-list) t) |
| 383 | ".*\n") 0 texinfo-heading-face t)) | 381 | ".*\n") |
| 382 | 0 texinfo-heading t)) | ||
| 384 | "Additional expressions to highlight in Texinfo mode.") | 383 | "Additional expressions to highlight in Texinfo mode.") |
| 385 | 384 | ||
| 386 | (defun texinfo-clone-environment (start end) | 385 | (defun texinfo-clone-environment (start end) |
diff --git a/lisp/vc/add-log.el b/lisp/vc/add-log.el index 9076d834c7c..b516b67b967 100644 --- a/lisp/vc/add-log.el +++ b/lisp/vc/add-log.el | |||
| @@ -184,51 +184,42 @@ a case simply use the directory containing the changed file." | |||
| 184 | "Face used to highlight dates in date lines." | 184 | "Face used to highlight dates in date lines." |
| 185 | :version "21.1" | 185 | :version "21.1" |
| 186 | :group 'change-log) | 186 | :group 'change-log) |
| 187 | (define-obsolete-face-alias 'change-log-date-face 'change-log-date "22.1") | ||
| 188 | 187 | ||
| 189 | (defface change-log-name | 188 | (defface change-log-name |
| 190 | '((t (:inherit font-lock-constant-face))) | 189 | '((t (:inherit font-lock-constant-face))) |
| 191 | "Face for highlighting author names." | 190 | "Face for highlighting author names." |
| 192 | :version "21.1" | 191 | :version "21.1" |
| 193 | :group 'change-log) | 192 | :group 'change-log) |
| 194 | (define-obsolete-face-alias 'change-log-name-face 'change-log-name "22.1") | ||
| 195 | 193 | ||
| 196 | (defface change-log-email | 194 | (defface change-log-email |
| 197 | '((t (:inherit font-lock-variable-name-face))) | 195 | '((t (:inherit font-lock-variable-name-face))) |
| 198 | "Face for highlighting author email addresses." | 196 | "Face for highlighting author email addresses." |
| 199 | :version "21.1" | 197 | :version "21.1" |
| 200 | :group 'change-log) | 198 | :group 'change-log) |
| 201 | (define-obsolete-face-alias 'change-log-email-face 'change-log-email "22.1") | ||
| 202 | 199 | ||
| 203 | (defface change-log-file | 200 | (defface change-log-file |
| 204 | '((t (:inherit font-lock-function-name-face))) | 201 | '((t (:inherit font-lock-function-name-face))) |
| 205 | "Face for highlighting file names." | 202 | "Face for highlighting file names." |
| 206 | :version "21.1" | 203 | :version "21.1" |
| 207 | :group 'change-log) | 204 | :group 'change-log) |
| 208 | (define-obsolete-face-alias 'change-log-file-face 'change-log-file "22.1") | ||
| 209 | 205 | ||
| 210 | (defface change-log-list | 206 | (defface change-log-list |
| 211 | '((t (:inherit font-lock-keyword-face))) | 207 | '((t (:inherit font-lock-keyword-face))) |
| 212 | "Face for highlighting parenthesized lists of functions or variables." | 208 | "Face for highlighting parenthesized lists of functions or variables." |
| 213 | :version "21.1" | 209 | :version "21.1" |
| 214 | :group 'change-log) | 210 | :group 'change-log) |
| 215 | (define-obsolete-face-alias 'change-log-list-face 'change-log-list "22.1") | ||
| 216 | 211 | ||
| 217 | (defface change-log-conditionals | 212 | (defface change-log-conditionals |
| 218 | '((t (:inherit font-lock-variable-name-face))) | 213 | '((t (:inherit font-lock-variable-name-face))) |
| 219 | "Face for highlighting conditionals of the form `[...]'." | 214 | "Face for highlighting conditionals of the form `[...]'." |
| 220 | :version "21.1" | 215 | :version "21.1" |
| 221 | :group 'change-log) | 216 | :group 'change-log) |
| 222 | (define-obsolete-face-alias 'change-log-conditionals-face | ||
| 223 | 'change-log-conditionals "22.1") | ||
| 224 | 217 | ||
| 225 | (defface change-log-function | 218 | (defface change-log-function |
| 226 | '((t (:inherit font-lock-variable-name-face))) | 219 | '((t (:inherit font-lock-variable-name-face))) |
| 227 | "Face for highlighting items of the form `<....>'." | 220 | "Face for highlighting items of the form `<....>'." |
| 228 | :version "21.1" | 221 | :version "21.1" |
| 229 | :group 'change-log) | 222 | :group 'change-log) |
| 230 | (define-obsolete-face-alias 'change-log-function-face | ||
| 231 | 'change-log-function "22.1") | ||
| 232 | 223 | ||
| 233 | (defface change-log-acknowledgment | 224 | (defface change-log-acknowledgment |
| 234 | '((t (:inherit font-lock-comment-face))) | 225 | '((t (:inherit font-lock-comment-face))) |
| @@ -237,8 +228,6 @@ a case simply use the directory containing the changed file." | |||
| 237 | :group 'change-log) | 228 | :group 'change-log) |
| 238 | (define-obsolete-face-alias 'change-log-acknowledgement | 229 | (define-obsolete-face-alias 'change-log-acknowledgement |
| 239 | 'change-log-acknowledgment "24.3") | 230 | 'change-log-acknowledgment "24.3") |
| 240 | (define-obsolete-face-alias 'change-log-acknowledgement-face | ||
| 241 | 'change-log-acknowledgment "22.1") | ||
| 242 | 231 | ||
| 243 | (defconst change-log-file-names-re "^\\( +\\|\t\\)\\* \\([^ ,:([\n]+\\)") | 232 | (defconst change-log-file-names-re "^\\( +\\|\t\\)\\* \\([^ ,:([\n]+\\)") |
| 244 | (defconst change-log-start-entry-re "^\\sw.........[0-9:+ ]*") | 233 | (defconst change-log-start-entry-re "^\\sw.........[0-9:+ ]*") |
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index bada492a31b..43ff9e07d28 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el | |||
| @@ -243,8 +243,6 @@ well." | |||
| 243 | (t :weight bold)) | 243 | (t :weight bold)) |
| 244 | "`diff-mode' face inherited by hunk and index header faces." | 244 | "`diff-mode' face inherited by hunk and index header faces." |
| 245 | :group 'diff-mode) | 245 | :group 'diff-mode) |
| 246 | (define-obsolete-face-alias 'diff-header-face 'diff-header "22.1") | ||
| 247 | (defvar diff-header-face 'diff-header) | ||
| 248 | 246 | ||
| 249 | (defface diff-file-header | 247 | (defface diff-file-header |
| 250 | '((((class color) (min-colors 88) (background light)) | 248 | '((((class color) (min-colors 88) (background light)) |
| @@ -256,22 +254,16 @@ well." | |||
| 256 | (t :weight bold)) ; :height 1.3 | 254 | (t :weight bold)) ; :height 1.3 |
| 257 | "`diff-mode' face used to highlight file header lines." | 255 | "`diff-mode' face used to highlight file header lines." |
| 258 | :group 'diff-mode) | 256 | :group 'diff-mode) |
| 259 | (define-obsolete-face-alias 'diff-file-header-face 'diff-file-header "22.1") | ||
| 260 | (defvar diff-file-header-face 'diff-file-header) | ||
| 261 | 257 | ||
| 262 | (defface diff-index | 258 | (defface diff-index |
| 263 | '((t :inherit diff-file-header)) | 259 | '((t :inherit diff-file-header)) |
| 264 | "`diff-mode' face used to highlight index header lines." | 260 | "`diff-mode' face used to highlight index header lines." |
| 265 | :group 'diff-mode) | 261 | :group 'diff-mode) |
| 266 | (define-obsolete-face-alias 'diff-index-face 'diff-index "22.1") | ||
| 267 | (defvar diff-index-face 'diff-index) | ||
| 268 | 262 | ||
| 269 | (defface diff-hunk-header | 263 | (defface diff-hunk-header |
| 270 | '((t :inherit diff-header)) | 264 | '((t :inherit diff-header)) |
| 271 | "`diff-mode' face used to highlight hunk header lines." | 265 | "`diff-mode' face used to highlight hunk header lines." |
| 272 | :group 'diff-mode) | 266 | :group 'diff-mode) |
| 273 | (define-obsolete-face-alias 'diff-hunk-header-face 'diff-hunk-header "22.1") | ||
| 274 | (defvar diff-hunk-header-face 'diff-hunk-header) | ||
| 275 | 267 | ||
| 276 | (defface diff-removed | 268 | (defface diff-removed |
| 277 | '((default | 269 | '((default |
| @@ -284,8 +276,6 @@ well." | |||
| 284 | :foreground "red")) | 276 | :foreground "red")) |
| 285 | "`diff-mode' face used to highlight removed lines." | 277 | "`diff-mode' face used to highlight removed lines." |
| 286 | :group 'diff-mode) | 278 | :group 'diff-mode) |
| 287 | (define-obsolete-face-alias 'diff-removed-face 'diff-removed "22.1") | ||
| 288 | (defvar diff-removed-face 'diff-removed) | ||
| 289 | 279 | ||
| 290 | (defface diff-added | 280 | (defface diff-added |
| 291 | '((default | 281 | '((default |
| @@ -298,16 +288,12 @@ well." | |||
| 298 | :foreground "green")) | 288 | :foreground "green")) |
| 299 | "`diff-mode' face used to highlight added lines." | 289 | "`diff-mode' face used to highlight added lines." |
| 300 | :group 'diff-mode) | 290 | :group 'diff-mode) |
| 301 | (define-obsolete-face-alias 'diff-added-face 'diff-added "22.1") | ||
| 302 | (defvar diff-added-face 'diff-added) | ||
| 303 | 291 | ||
| 304 | (defface diff-changed | 292 | (defface diff-changed |
| 305 | '((t nil)) | 293 | '((t nil)) |
| 306 | "`diff-mode' face used to highlight changed lines." | 294 | "`diff-mode' face used to highlight changed lines." |
| 307 | :version "25.1" | 295 | :version "25.1" |
| 308 | :group 'diff-mode) | 296 | :group 'diff-mode) |
| 309 | (define-obsolete-face-alias 'diff-changed-face 'diff-changed "22.1") | ||
| 310 | (defvar diff-changed-face 'diff-changed) | ||
| 311 | 297 | ||
| 312 | (defface diff-indicator-removed | 298 | (defface diff-indicator-removed |
| 313 | '((t :inherit diff-removed)) | 299 | '((t :inherit diff-removed)) |
| @@ -334,8 +320,6 @@ well." | |||
| 334 | '((t :inherit diff-header)) | 320 | '((t :inherit diff-header)) |
| 335 | "`diff-mode' face used to highlight function names produced by \"diff -p\"." | 321 | "`diff-mode' face used to highlight function names produced by \"diff -p\"." |
| 336 | :group 'diff-mode) | 322 | :group 'diff-mode) |
| 337 | (define-obsolete-face-alias 'diff-function-face 'diff-function "22.1") | ||
| 338 | (defvar diff-function-face 'diff-function) | ||
| 339 | 323 | ||
| 340 | (defface diff-context | 324 | (defface diff-context |
| 341 | '((((class color grayscale) (min-colors 88) (background light)) | 325 | '((((class color grayscale) (min-colors 88) (background light)) |
| @@ -345,15 +329,11 @@ well." | |||
| 345 | "`diff-mode' face used to highlight context and other side-information." | 329 | "`diff-mode' face used to highlight context and other side-information." |
| 346 | :version "25.1" | 330 | :version "25.1" |
| 347 | :group 'diff-mode) | 331 | :group 'diff-mode) |
| 348 | (define-obsolete-face-alias 'diff-context-face 'diff-context "22.1") | ||
| 349 | (defvar diff-context-face 'diff-context) | ||
| 350 | 332 | ||
| 351 | (defface diff-nonexistent | 333 | (defface diff-nonexistent |
| 352 | '((t :inherit diff-file-header)) | 334 | '((t :inherit diff-file-header)) |
| 353 | "`diff-mode' face used to highlight nonexistent files in recursive diffs." | 335 | "`diff-mode' face used to highlight nonexistent files in recursive diffs." |
| 354 | :group 'diff-mode) | 336 | :group 'diff-mode) |
| 355 | (define-obsolete-face-alias 'diff-nonexistent-face 'diff-nonexistent "22.1") | ||
| 356 | (defvar diff-nonexistent-face 'diff-nonexistent) | ||
| 357 | 337 | ||
| 358 | (defconst diff-yank-handler '(diff-yank-function)) | 338 | (defconst diff-yank-handler '(diff-yank-function)) |
| 359 | (defun diff-yank-function (text) | 339 | (defun diff-yank-function (text) |
| @@ -382,57 +362,57 @@ well." | |||
| 382 | (defconst diff-context-mid-hunk-header-re | 362 | (defconst diff-context-mid-hunk-header-re |
| 383 | "--- \\([0-9]+\\)\\(?:,\\([0-9]+\\)\\)? ----$") | 363 | "--- \\([0-9]+\\)\\(?:,\\([0-9]+\\)\\)? ----$") |
| 384 | 364 | ||
| 385 | (defvar diff-use-changed-face (and (face-differs-from-default-p diff-changed-face) | 365 | (defvar diff-use-changed-face (and (face-differs-from-default-p 'diff-changed) |
| 386 | (not (face-equal diff-changed-face diff-added-face)) | 366 | (not (face-equal 'diff-changed 'diff-added)) |
| 387 | (not (face-equal diff-changed-face diff-removed-face))) | 367 | (not (face-equal 'diff-changed 'diff-removed))) |
| 388 | "If non-nil, use the face `diff-changed' for changed lines in context diffs. | 368 | "If non-nil, use the face `diff-changed' for changed lines in context diffs. |
| 389 | Otherwise, use the face `diff-removed' for removed lines, | 369 | Otherwise, use the face `diff-removed' for removed lines, |
| 390 | and the face `diff-added' for added lines.") | 370 | and the face `diff-added' for added lines.") |
| 391 | 371 | ||
| 392 | (defvar diff-font-lock-keywords | 372 | (defvar diff-font-lock-keywords |
| 393 | `((,(concat "\\(" diff-hunk-header-re-unified "\\)\\(.*\\)$") | 373 | `((,(concat "\\(" diff-hunk-header-re-unified "\\)\\(.*\\)$") |
| 394 | (1 diff-hunk-header-face) (6 diff-function-face)) | 374 | (1 diff-hunk-header) (6 diff-function)) |
| 395 | ("^\\(\\*\\{15\\}\\)\\(.*\\)$" ;context | 375 | ("^\\(\\*\\{15\\}\\)\\(.*\\)$" ;context |
| 396 | (1 diff-hunk-header-face) (2 diff-function-face)) | 376 | (1 diff-hunk-header) (2 diff-function)) |
| 397 | ("^\\*\\*\\* .+ \\*\\*\\*\\*". diff-hunk-header-face) ;context | 377 | ("^\\*\\*\\* .+ \\*\\*\\*\\*". diff-hunk-header) ;context |
| 398 | (,diff-context-mid-hunk-header-re . diff-hunk-header-face) ;context | 378 | (,diff-context-mid-hunk-header-re . diff-hunk-header) ;context |
| 399 | ("^[0-9,]+[acd][0-9,]+$" . diff-hunk-header-face) ;normal | 379 | ("^[0-9,]+[acd][0-9,]+$" . diff-hunk-header) ;normal |
| 400 | ("^---$" . diff-hunk-header-face) ;normal | 380 | ("^---$" . diff-hunk-header) ;normal |
| 401 | ;; For file headers, accept files with spaces, but be careful to rule | 381 | ;; For file headers, accept files with spaces, but be careful to rule |
| 402 | ;; out false-positives when matching hunk headers. | 382 | ;; out false-positives when matching hunk headers. |
| 403 | ("^\\(---\\|\\+\\+\\+\\|\\*\\*\\*\\) \\([^\t\n]+?\\)\\(?:\t.*\\| \\(\\*\\*\\*\\*\\|----\\)\\)?\n" | 383 | ("^\\(---\\|\\+\\+\\+\\|\\*\\*\\*\\) \\([^\t\n]+?\\)\\(?:\t.*\\| \\(\\*\\*\\*\\*\\|----\\)\\)?\n" |
| 404 | (0 diff-header-face) | 384 | (0 diff-header) |
| 405 | (2 (if (not (match-end 3)) diff-file-header-face) prepend)) | 385 | (2 (if (not (match-end 3)) diff-file-header) prepend)) |
| 406 | ("^\\([-<]\\)\\(.*\n\\)" | 386 | ("^\\([-<]\\)\\(.*\n\\)" |
| 407 | (1 diff-indicator-removed-face) (2 diff-removed-face)) | 387 | (1 diff-indicator-removed-face) (2 diff-removed)) |
| 408 | ("^\\([+>]\\)\\(.*\n\\)" | 388 | ("^\\([+>]\\)\\(.*\n\\)" |
| 409 | (1 diff-indicator-added-face) (2 diff-added-face)) | 389 | (1 diff-indicator-added-face) (2 diff-added)) |
| 410 | ("^\\(!\\)\\(.*\n\\)" | 390 | ("^\\(!\\)\\(.*\n\\)" |
| 411 | (1 (if diff-use-changed-face | 391 | (1 (if diff-use-changed-face |
| 412 | diff-indicator-changed-face | 392 | diff-indicator-changed-face |
| 413 | ;; Otherwise, search for `diff-context-mid-hunk-header-re' and | 393 | ;; Otherwise, search for `diff-context-mid-hunk-header-re' and |
| 414 | ;; if the line of context diff is above, use `diff-removed-face'; | 394 | ;; if the line of context diff is above, use `diff-removed'; |
| 415 | ;; if below, use `diff-added-face'. | 395 | ;; if below, use `diff-added'. |
| 416 | (save-match-data | 396 | (save-match-data |
| 417 | (let ((limit (save-excursion (diff-beginning-of-hunk)))) | 397 | (let ((limit (save-excursion (diff-beginning-of-hunk)))) |
| 418 | (if (save-excursion (re-search-backward diff-context-mid-hunk-header-re limit t)) | 398 | (if (save-excursion (re-search-backward diff-context-mid-hunk-header-re limit t)) |
| 419 | diff-indicator-added-face | 399 | diff-indicator-added-face |
| 420 | diff-indicator-removed-face))))) | 400 | diff-indicator-removed-face))))) |
| 421 | (2 (if diff-use-changed-face | 401 | (2 (if diff-use-changed-face |
| 422 | diff-changed-face | 402 | diff-changed |
| 423 | ;; Otherwise, use the same method as above. | 403 | ;; Otherwise, use the same method as above. |
| 424 | (save-match-data | 404 | (save-match-data |
| 425 | (let ((limit (save-excursion (diff-beginning-of-hunk)))) | 405 | (let ((limit (save-excursion (diff-beginning-of-hunk)))) |
| 426 | (if (save-excursion (re-search-backward diff-context-mid-hunk-header-re limit t)) | 406 | (if (save-excursion (re-search-backward diff-context-mid-hunk-header-re limit t)) |
| 427 | diff-added-face | 407 | diff-added |
| 428 | diff-removed-face)))))) | 408 | diff-removed)))))) |
| 429 | ("^\\(?:Index\\|revno\\): \\(.+\\).*\n" | 409 | ("^\\(?:Index\\|revno\\): \\(.+\\).*\n" |
| 430 | (0 diff-header-face) (1 diff-index-face prepend)) | 410 | (0 diff-header) (1 diff-index prepend)) |
| 431 | ("^Only in .*\n" . diff-nonexistent-face) | 411 | ("^Only in .*\n" . diff-nonexistent) |
| 432 | ("^\\(#\\)\\(.*\\)" | 412 | ("^\\(#\\)\\(.*\\)" |
| 433 | (1 font-lock-comment-delimiter-face) | 413 | (1 font-lock-comment-delimiter-face) |
| 434 | (2 font-lock-comment-face)) | 414 | (2 font-lock-comment-face)) |
| 435 | ("^[^-=+*!<>#].*\n" (0 diff-context-face)))) | 415 | ("^[^-=+*!<>#].*\n" (0 diff-context)))) |
| 436 | 416 | ||
| 437 | (defconst diff-font-lock-defaults | 417 | (defconst diff-font-lock-defaults |
| 438 | '(diff-font-lock-keywords t nil nil nil (font-lock-multiline . nil))) | 418 | '(diff-font-lock-keywords t nil nil nil (font-lock-multiline . nil))) |
| @@ -820,7 +800,7 @@ If the OLD prefix arg is passed, tell the file NAME of the old file." | |||
| 820 | (error (point-min))))) | 800 | (error (point-min))))) |
| 821 | (header-files | 801 | (header-files |
| 822 | ;; handle filenames with spaces; | 802 | ;; handle filenames with spaces; |
| 823 | ;; cf. diff-font-lock-keywords / diff-file-header-face | 803 | ;; cf. diff-font-lock-keywords / diff-file-header |
| 824 | (if (looking-at "[-*][-*][-*] \\([^\t\n]+\\).*\n[-+][-+][-+] \\([^\t\n]+\\)") | 804 | (if (looking-at "[-*][-*][-*] \\([^\t\n]+\\).*\n[-+][-+][-+] \\([^\t\n]+\\)") |
| 825 | (list (if old (match-string 1) (match-string 2)) | 805 | (list (if old (match-string 1) (match-string 2)) |
| 826 | (if old (match-string 2) (match-string 1))) | 806 | (if old (match-string 2) (match-string 1))) |
| @@ -1936,11 +1916,10 @@ For use in `add-log-current-defun-function'." | |||
| 1936 | (t :inverse-video t)) | 1916 | (t :inverse-video t)) |
| 1937 | "Face used for char-based changes shown by `diff-refine-hunk'." | 1917 | "Face used for char-based changes shown by `diff-refine-hunk'." |
| 1938 | :group 'diff-mode) | 1918 | :group 'diff-mode) |
| 1939 | (define-obsolete-face-alias 'diff-refine-change 'diff-refine-changed "24.5") | ||
| 1940 | 1919 | ||
| 1941 | (defface diff-refine-removed | 1920 | (defface diff-refine-removed |
| 1942 | '((default | 1921 | '((default |
| 1943 | :inherit diff-refine-change) | 1922 | :inherit diff-refine-changed) |
| 1944 | (((class color) (min-colors 88) (background light)) | 1923 | (((class color) (min-colors 88) (background light)) |
| 1945 | :background "#ffbbbb") | 1924 | :background "#ffbbbb") |
| 1946 | (((class color) (min-colors 88) (background dark)) | 1925 | (((class color) (min-colors 88) (background dark)) |
| @@ -1951,7 +1930,7 @@ For use in `add-log-current-defun-function'." | |||
| 1951 | 1930 | ||
| 1952 | (defface diff-refine-added | 1931 | (defface diff-refine-added |
| 1953 | '((default | 1932 | '((default |
| 1954 | :inherit diff-refine-change) | 1933 | :inherit diff-refine-changed) |
| 1955 | (((class color) (min-colors 88) (background light)) | 1934 | (((class color) (min-colors 88) (background light)) |
| 1956 | :background "#aaffaa") | 1935 | :background "#aaffaa") |
| 1957 | (((class color) (min-colors 88) (background dark)) | 1936 | (((class color) (min-colors 88) (background dark)) |
| @@ -1984,7 +1963,7 @@ For use in `add-log-current-defun-function'." | |||
| 1984 | (let* ((start (point)) | 1963 | (let* ((start (point)) |
| 1985 | (style (diff-hunk-style)) ;Skips the hunk header as well. | 1964 | (style (diff-hunk-style)) ;Skips the hunk header as well. |
| 1986 | (beg (point)) | 1965 | (beg (point)) |
| 1987 | (props-c '((diff-mode . fine) (face diff-refine-change))) | 1966 | (props-c '((diff-mode . fine) (face diff-refine-changed))) |
| 1988 | (props-r '((diff-mode . fine) (face diff-refine-removed))) | 1967 | (props-r '((diff-mode . fine) (face diff-refine-removed))) |
| 1989 | (props-a '((diff-mode . fine) (face diff-refine-added))) | 1968 | (props-a '((diff-mode . fine) (face diff-refine-added))) |
| 1990 | ;; Be careful to go back to `start' so diff-end-of-hunk gets | 1969 | ;; Be careful to go back to `start' so diff-end-of-hunk gets |
diff --git a/lisp/vc/log-view.el b/lisp/vc/log-view.el index 63d50033eec..c77770bf4b0 100644 --- a/lisp/vc/log-view.el +++ b/lisp/vc/log-view.el | |||
| @@ -200,8 +200,6 @@ If it is nil, `log-view-toggle-entry-display' does nothing.") | |||
| 200 | (t (:weight bold))) | 200 | (t (:weight bold))) |
| 201 | "Face for the file header line in `log-view-mode'." | 201 | "Face for the file header line in `log-view-mode'." |
| 202 | :group 'log-view) | 202 | :group 'log-view) |
| 203 | (define-obsolete-face-alias 'log-view-file-face 'log-view-file "22.1") | ||
| 204 | (defvar log-view-file-face 'log-view-file) | ||
| 205 | 203 | ||
| 206 | (defface log-view-message | 204 | (defface log-view-message |
| 207 | '((((class color) (background light)) | 205 | '((((class color) (background light)) |
| @@ -209,9 +207,6 @@ If it is nil, `log-view-toggle-entry-display' does nothing.") | |||
| 209 | (t (:weight bold))) | 207 | (t (:weight bold))) |
| 210 | "Face for the message header line in `log-view-mode'." | 208 | "Face for the message header line in `log-view-mode'." |
| 211 | :group 'log-view) | 209 | :group 'log-view) |
| 212 | ;; backward-compatibility alias | ||
| 213 | (define-obsolete-face-alias 'log-view-message-face 'log-view-message "22.1") | ||
| 214 | (defvar log-view-message-face 'log-view-message) | ||
| 215 | 210 | ||
| 216 | (defvar log-view-file-re | 211 | (defvar log-view-file-re |
| 217 | (concat "^\\(?:Working file: \\(?1:.+\\)" ;RCS and CVS. | 212 | (concat "^\\(?:Working file: \\(?1:.+\\)" ;RCS and CVS. |
| @@ -246,8 +241,8 @@ The match group number 1 should match the revision number itself.") | |||
| 246 | ;; and log-view-message-re, if applicable. | 241 | ;; and log-view-message-re, if applicable. |
| 247 | '((eval . `(,log-view-file-re | 242 | '((eval . `(,log-view-file-re |
| 248 | (1 (if (boundp 'cvs-filename-face) cvs-filename-face)) | 243 | (1 (if (boundp 'cvs-filename-face) cvs-filename-face)) |
| 249 | (0 log-view-file-face append))) | 244 | (0 log-view-file append))) |
| 250 | (eval . `(,log-view-message-re . log-view-message-face)))) | 245 | (eval . `(,log-view-message-re . log-view-message)))) |
| 251 | 246 | ||
| 252 | (defconst log-view-font-lock-defaults | 247 | (defconst log-view-font-lock-defaults |
| 253 | '(log-view-font-lock-keywords t nil nil nil)) | 248 | '(log-view-font-lock-keywords t nil nil nil)) |
diff --git a/lisp/vc/pcvs-info.el b/lisp/vc/pcvs-info.el index b9ecc892540..6bb1370682e 100644 --- a/lisp/vc/pcvs-info.el +++ b/lisp/vc/pcvs-info.el | |||
| @@ -69,7 +69,6 @@ to confuse some users sometimes." | |||
| 69 | (t (:weight bold))) | 69 | (t (:weight bold))) |
| 70 | "PCL-CVS face used to highlight directory changes." | 70 | "PCL-CVS face used to highlight directory changes." |
| 71 | :group 'pcl-cvs) | 71 | :group 'pcl-cvs) |
| 72 | (define-obsolete-face-alias 'cvs-header-face 'cvs-header "22.1") | ||
| 73 | 72 | ||
| 74 | (defface cvs-filename | 73 | (defface cvs-filename |
| 75 | '((((class color) (background dark)) | 74 | '((((class color) (background dark)) |
| @@ -79,7 +78,6 @@ to confuse some users sometimes." | |||
| 79 | (t ())) | 78 | (t ())) |
| 80 | "PCL-CVS face used to highlight file names." | 79 | "PCL-CVS face used to highlight file names." |
| 81 | :group 'pcl-cvs) | 80 | :group 'pcl-cvs) |
| 82 | (define-obsolete-face-alias 'cvs-filename-face 'cvs-filename "22.1") | ||
| 83 | 81 | ||
| 84 | (defface cvs-unknown | 82 | (defface cvs-unknown |
| 85 | '((((class color) (background dark)) | 83 | '((((class color) (background dark)) |
| @@ -89,7 +87,6 @@ to confuse some users sometimes." | |||
| 89 | (t (:slant italic))) | 87 | (t (:slant italic))) |
| 90 | "PCL-CVS face used to highlight unknown file status." | 88 | "PCL-CVS face used to highlight unknown file status." |
| 91 | :group 'pcl-cvs) | 89 | :group 'pcl-cvs) |
| 92 | (define-obsolete-face-alias 'cvs-unknown-face 'cvs-unknown "22.1") | ||
| 93 | 90 | ||
| 94 | (defface cvs-handled | 91 | (defface cvs-handled |
| 95 | '((((class color) (background dark)) | 92 | '((((class color) (background dark)) |
| @@ -99,7 +96,6 @@ to confuse some users sometimes." | |||
| 99 | (t ())) | 96 | (t ())) |
| 100 | "PCL-CVS face used to highlight handled file status." | 97 | "PCL-CVS face used to highlight handled file status." |
| 101 | :group 'pcl-cvs) | 98 | :group 'pcl-cvs) |
| 102 | (define-obsolete-face-alias 'cvs-handled-face 'cvs-handled "22.1") | ||
| 103 | 99 | ||
| 104 | (defface cvs-need-action | 100 | (defface cvs-need-action |
| 105 | '((((class color) (background dark)) | 101 | '((((class color) (background dark)) |
| @@ -109,7 +105,6 @@ to confuse some users sometimes." | |||
| 109 | (t (:slant italic))) | 105 | (t (:slant italic))) |
| 110 | "PCL-CVS face used to highlight status of files needing action." | 106 | "PCL-CVS face used to highlight status of files needing action." |
| 111 | :group 'pcl-cvs) | 107 | :group 'pcl-cvs) |
| 112 | (define-obsolete-face-alias 'cvs-need-action-face 'cvs-need-action "22.1") | ||
| 113 | 108 | ||
| 114 | (defface cvs-marked | 109 | (defface cvs-marked |
| 115 | '((((min-colors 88) (class color) (background dark)) | 110 | '((((min-colors 88) (class color) (background dark)) |
| @@ -121,13 +116,11 @@ to confuse some users sometimes." | |||
| 121 | (t (:weight bold))) | 116 | (t (:weight bold))) |
| 122 | "PCL-CVS face used to highlight marked file indicator." | 117 | "PCL-CVS face used to highlight marked file indicator." |
| 123 | :group 'pcl-cvs) | 118 | :group 'pcl-cvs) |
| 124 | (define-obsolete-face-alias 'cvs-marked-face 'cvs-marked "22.1") | ||
| 125 | 119 | ||
| 126 | (defface cvs-msg | 120 | (defface cvs-msg |
| 127 | '((t :slant italic)) | 121 | '((t :slant italic)) |
| 128 | "PCL-CVS face used to highlight CVS messages." | 122 | "PCL-CVS face used to highlight CVS messages." |
| 129 | :group 'pcl-cvs) | 123 | :group 'pcl-cvs) |
| 130 | (define-obsolete-face-alias 'cvs-msg-face 'cvs-msg "22.1") | ||
| 131 | 124 | ||
| 132 | (defvar cvs-fi-up-to-date-face 'cvs-handled) | 125 | (defvar cvs-fi-up-to-date-face 'cvs-handled) |
| 133 | (defvar cvs-fi-unknown-face 'cvs-unknown) | 126 | (defvar cvs-fi-unknown-face 'cvs-unknown) |
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 4ec14d6c8c2..10b10456f3a 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el | |||
| @@ -102,8 +102,6 @@ This exists as a variable so it can be set locally in certain buffers.") | |||
| 102 | "Face used for documentation text." | 102 | "Face used for documentation text." |
| 103 | :group 'widget-documentation | 103 | :group 'widget-documentation |
| 104 | :group 'widget-faces) | 104 | :group 'widget-faces) |
| 105 | (define-obsolete-face-alias 'widget-documentation-face | ||
| 106 | 'widget-documentation "22.1") | ||
| 107 | 105 | ||
| 108 | (defvar widget-button-face 'widget-button | 106 | (defvar widget-button-face 'widget-button |
| 109 | "Face used for buttons in widgets. | 107 | "Face used for buttons in widgets. |
| @@ -112,7 +110,6 @@ This exists as a variable so it can be set locally in certain buffers.") | |||
| 112 | (defface widget-button '((t (:weight bold))) | 110 | (defface widget-button '((t (:weight bold))) |
| 113 | "Face used for widget buttons." | 111 | "Face used for widget buttons." |
| 114 | :group 'widget-faces) | 112 | :group 'widget-faces) |
| 115 | (define-obsolete-face-alias 'widget-button-face 'widget-button "22.1") | ||
| 116 | 113 | ||
| 117 | (defcustom widget-mouse-face 'highlight | 114 | (defcustom widget-mouse-face 'highlight |
| 118 | "Face used for widget buttons when the mouse is above them." | 115 | "Face used for widget buttons when the mouse is above them." |
| @@ -135,7 +132,6 @@ This exists as a variable so it can be set locally in certain buffers.") | |||
| 135 | :slant italic)) | 132 | :slant italic)) |
| 136 | "Face used for editable fields." | 133 | "Face used for editable fields." |
| 137 | :group 'widget-faces) | 134 | :group 'widget-faces) |
| 138 | (define-obsolete-face-alias 'widget-field-face 'widget-field "22.1") | ||
| 139 | 135 | ||
| 140 | (defface widget-single-line-field '((((type tty)) | 136 | (defface widget-single-line-field '((((type tty)) |
| 141 | :background "green3" | 137 | :background "green3" |
| @@ -150,8 +146,6 @@ This exists as a variable so it can be set locally in certain buffers.") | |||
| 150 | :slant italic)) | 146 | :slant italic)) |
| 151 | "Face used for editable fields spanning only a single line." | 147 | "Face used for editable fields spanning only a single line." |
| 152 | :group 'widget-faces) | 148 | :group 'widget-faces) |
| 153 | (define-obsolete-face-alias 'widget-single-line-field-face | ||
| 154 | 'widget-single-line-field "22.1") | ||
| 155 | 149 | ||
| 156 | ;;; This causes display-table to be loaded, and not usefully. | 150 | ;;; This causes display-table to be loaded, and not usefully. |
| 157 | ;;;(defvar widget-single-line-display-table | 151 | ;;;(defvar widget-single-line-display-table |
| @@ -427,8 +421,6 @@ the :notify function can't know the new value.") | |||
| 427 | '((t :inherit shadow)) | 421 | '((t :inherit shadow)) |
| 428 | "Face used for inactive widgets." | 422 | "Face used for inactive widgets." |
| 429 | :group 'widget-faces) | 423 | :group 'widget-faces) |
| 430 | (define-obsolete-face-alias 'widget-inactive-face | ||
| 431 | 'widget-inactive "22.1") | ||
| 432 | 424 | ||
| 433 | (defun widget-specify-inactive (widget from to) | 425 | (defun widget-specify-inactive (widget from to) |
| 434 | "Make WIDGET inactive for user modifications." | 426 | "Make WIDGET inactive for user modifications." |
| @@ -905,8 +897,6 @@ Note that such modes will need to require wid-edit.") | |||
| 905 | (:weight bold :underline t))) | 897 | (:weight bold :underline t))) |
| 906 | "Face used for pressed buttons." | 898 | "Face used for pressed buttons." |
| 907 | :group 'widget-faces) | 899 | :group 'widget-faces) |
| 908 | (define-obsolete-face-alias 'widget-button-pressed-face | ||
| 909 | 'widget-button-pressed "22.1") | ||
| 910 | 900 | ||
| 911 | (defvar widget-button-click-moves-point nil | 901 | (defvar widget-button-click-moves-point nil |
| 912 | "If non-nil, `widget-button-click' moves point to a button after invoking it. | 902 | "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 a4a0da209cb..8189f08b097 100644 --- a/lisp/woman.el +++ b/lisp/woman.el | |||
| @@ -926,25 +926,21 @@ or different fonts." | |||
| 926 | '((t :inherit italic)) | 926 | '((t :inherit italic)) |
| 927 | "Face for italic font in man pages." | 927 | "Face for italic font in man pages." |
| 928 | :group 'woman-faces) | 928 | :group 'woman-faces) |
| 929 | (define-obsolete-face-alias 'woman-italic-face 'woman-italic "22.1") | ||
| 930 | 929 | ||
| 931 | (defface woman-bold | 930 | (defface woman-bold |
| 932 | '((t :inherit bold)) | 931 | '((t :inherit bold)) |
| 933 | "Face for bold font in man pages." | 932 | "Face for bold font in man pages." |
| 934 | :group 'woman-faces) | 933 | :group 'woman-faces) |
| 935 | (define-obsolete-face-alias 'woman-bold-face 'woman-bold "22.1") | ||
| 936 | 934 | ||
| 937 | (defface woman-unknown | 935 | (defface woman-unknown |
| 938 | '((t :inherit font-lock-warning-face)) | 936 | '((t :inherit font-lock-warning-face)) |
| 939 | "Face for all unknown fonts in man pages." | 937 | "Face for all unknown fonts in man pages." |
| 940 | :group 'woman-faces) | 938 | :group 'woman-faces) |
| 941 | (define-obsolete-face-alias 'woman-unknown-face 'woman-unknown "22.1") | ||
| 942 | 939 | ||
| 943 | (defface woman-addition | 940 | (defface woman-addition |
| 944 | '((t :inherit font-lock-builtin-face)) | 941 | '((t :inherit font-lock-builtin-face)) |
| 945 | "Face for all WoMan additions to man pages." | 942 | "Face for all WoMan additions to man pages." |
| 946 | :group 'woman-faces) | 943 | :group 'woman-faces) |
| 947 | (define-obsolete-face-alias 'woman-addition-face 'woman-addition "22.1") | ||
| 948 | 944 | ||
| 949 | (defun woman-default-faces () | 945 | (defun woman-default-faces () |
| 950 | "Set foreground colors of italic and bold faces to their default values." | 946 | "Set foreground colors of italic and bold faces to their default values." |