Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c4f6e489
Commit
c4f6e489
authored
Sep 01, 2009
by
Glenn Morris
Browse files
Mark face aliases with "-face" suffix as obsolete.
parent
d80619fa
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
166 additions
and
183 deletions
+166
-183
lisp/ChangeLog
lisp/ChangeLog
+44
-0
lisp/add-log.el
lisp/add-log.el
+13
-17
lisp/cus-edit.el
lisp/cus-edit.el
+23
-36
lisp/diff-mode.el
lisp/diff-mode.el
+12
-22
lisp/generic-x.el
lisp/generic-x.el
+4
-6
lisp/hilit-chg.el
lisp/hilit-chg.el
+6
-8
lisp/info.el
lisp/info.el
+4
-8
lisp/isearch.el
lisp/isearch.el
+3
-3
lisp/log-view.el
lisp/log-view.el
+4
-5
lisp/obsolete/old-whitespace.el
lisp/obsolete/old-whitespace.el
+4
-4
lisp/paren.el
lisp/paren.el
+5
-6
lisp/pcvs-info.el
lisp/pcvs-info.el
+7
-14
lisp/progmodes/ebrowse.el
lisp/progmodes/ebrowse.el
+9
-14
lisp/progmodes/make-mode.el
lisp/progmodes/make-mode.el
+1
-1
lisp/progmodes/sh-script.el
lisp/progmodes/sh-script.el
+3
-5
lisp/smerge-mode.el
lisp/smerge-mode.el
+4
-8
lisp/textmodes/flyspell.el
lisp/textmodes/flyspell.el
+4
-6
lisp/textmodes/tex-mode.el
lisp/textmodes/tex-mode.el
+2
-4
lisp/wid-edit.el
lisp/wid-edit.el
+10
-12
lisp/woman.el
lisp/woman.el
+4
-4
No files found.
lisp/ChangeLog
View file @
c4f6e489
2009-09-01 Glenn Morris <rgm@gnu.org>
* 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):
* cus-edit.el (custom-invalid-face, custom-rogue-face)
(custom-modified-face, custom-set-face, custom-changed-face)
(custom-saved-face, custom-button-face, custom-button-pressed-face)
(custom-documentation-face, custom-state-face, custom-comment-face)
(custom-comment-tag-face, custom-variable-tag-face)
(custom-variable-button-face, custom-face-tag-face)
(custom-group-tag-face-1, custom-group-tag-face):
* 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):
* generic-x.el (show-tabs-tab-face, show-tabs-space-face):
* hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
* info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
(Info-title-4-face):
* isearch.el (isearch-lazy-highlight-face):
* log-view.el (log-view-file-face, log-view-message-face):
* paren.el (show-paren-match-face, show-paren-mismatch-face):
* 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):
* smerge-mode.el (smerge-mine-face, smerge-other-face)
(smerge-base-face, smerge-markers-face):
* wid-edit.el (widget-documentation-face, widget-button-face)
(widget-field-face, widget-single-line-field-face)
(widget-inactive-face, widget-button-pressed-face):
* woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
(woman-addition-face):
* obsolete/old-whitespace.el (whitespace-highlight-face):
* progmodes/ebrowse.el (ebrowse-tree-mark-face)
(ebrowse-root-class-face, ebrowse-file-name-face)
(ebrowse-default-face, ebrowse-member-attribute-face)
(ebrowse-member-class-face, ebrowse-progress-face):
* progmodes/make-mode.el (makefile-space-face):
* progmodes/sh-script.el (sh-heredoc-face):
* textmodes/flyspell.el (flyspell-incorrect-face)
(flyspell-duplicate-face):
* textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
Mark face aliases with "-face" suffix as obsolete.
* mail/feedmail.el (file-name-buffer-file-type-alist): Define for
compiler.
...
...
lisp/add-log.el
View file @
c4f6e489
;;; add-log.el --- change log maintenance commands for Emacs
;; Copyright (C) 1985, 1986, 1988, 1993, 1994, 1997, 1998, 2000, 2001,
;; 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
;; 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
;; Free Software Foundation, Inc.
;; Maintainer: FSF
;; Keywords: tools
...
...
@@ -180,64 +181,59 @@ Note: The search is conducted only within 10%, at the beginning of the file."
"Face used to highlight dates in date lines."
:version
"21.1"
:group
'change-log
)
;; backward-compatibility alias
(
put
'change-log-date-face
'face-alias
'change-log-date
)
(
define-obsolete-face-alias
'change-log-date-face
'change-log-date
"22.1"
)
(
defface
change-log-name
'
((
t
(
:inherit
font-lock-constant-face
)))
"Face for highlighting author names."
:version
"21.1"
:group
'change-log
)
;; backward-compatibility alias
(
put
'change-log-name-face
'face-alias
'change-log-name
)
(
define-obsolete-face-alias
'change-log-name-face
'change-log-name
"22.1"
)
(
defface
change-log-email
'
((
t
(
:inherit
font-lock-variable-name-face
)))
"Face for highlighting author email addresses."
:version
"21.1"
:group
'change-log
)
;; backward-compatibility alias
(
put
'change-log-email-face
'face-alias
'change-log-email
)
(
define-obsolete-face-alias
'change-log-email-face
'change-log-email
"22.1"
)
(
defface
change-log-file
'
((
t
(
:inherit
font-lock-function-name-face
)))
"Face for highlighting file names."
:version
"21.1"
:group
'change-log
)
;; backward-compatibility alias
(
put
'change-log-file-face
'face-alias
'change-log-file
)
(
define-obsolete-face-alias
'change-log-file-face
'change-log-file
"22.1"
)
(
defface
change-log-list
'
((
t
(
:inherit
font-lock-keyword-face
)))
"Face for highlighting parenthesized lists of functions or variables."
:version
"21.1"
:group
'change-log
)
;; backward-compatibility alias
(
put
'change-log-list-face
'face-alias
'change-log-list
)
(
define-obsolete-face-alias
'change-log-list-face
'change-log-list
"22.1"
)
(
defface
change-log-conditionals
'
((
t
(
:inherit
font-lock-variable-name-face
)))
"Face for highlighting conditionals of the form `[...]'."
:version
"21.1"
:group
'change-log
)
;; backward-compatibility alias
(
put
'change-log-conditionals-face
'face-alias
'change-log-conditionals
)
(
define-obsolete-face-alias
'change-log-conditionals-face
'change-log-conditionals
"22.1"
)
(
defface
change-log-function
'
((
t
(
:inherit
font-lock-variable-name-face
)))
"Face for highlighting items of the form `<....>'."
:version
"21.1"
:group
'change-log
)
;; backward-compatibility alias
(
put
'change-log-function-face
'face-alias
'change-log-function
)
(
define-obsolete-face-alias
'change-log-function-face
'change-log-function
"22.1"
)
(
defface
change-log-acknowledgement
'
((
t
(
:inherit
font-lock-comment-face
)))
"Face for highlighting acknowledgments."
:version
"21.1"
:group
'change-log
)
;; backward-compatibility alias
(
put
'change-log-acknowledgement
-face
'face-alias
'change-log-acknowledgement
)
(
define-obsolete-face-alias
'change-log-acknowledgement-face
'change-log-acknowledgement
"22.1"
)
(
defconst
change-log-file-names-re
"^\\( +\\|\t\\)\\* \\([^ ,:([\n]+\\)"
)
(
defconst
change-log-start-entry-re
"^\\sw.........[0-9:+ ]*"
)
...
...
lisp/cus-edit.el
View file @
c4f6e489
;;; cus-edit.el --- tools for customizing Emacs and Lisp packages
;;
;; Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004,
;;
2005,
2006, 2007, 2008, 2009 Free Software Foundation, Inc.
;; Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004,
2005,
;; 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
;;
;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
;; Maintainer: FSF
...
...
@@ -1813,8 +1813,7 @@ item in another window.\n\n"))
(:weight bold :slant italic :underline t)))
"
Face
used
when
the
customize
item
is
invalid.
"
:group 'custom-magic-faces)
;; backward-compatibility alias
(put 'custom-invalid-face 'face-alias 'custom-invalid)
(define-obsolete-face-alias 'custom-invalid-face 'custom-invalid "
22.1
")
(defface custom-rogue '((((class color))
(:foreground "
pink
" :background "
black
"))
...
...
@@ -1822,8 +1821,7 @@ item in another window.\n\n"))
(:underline t)))
"
Face
used
when
the
customize
item
is
not
defined
for
customization.
"
:group 'custom-magic-faces)
;; backward-compatibility alias
(put 'custom-rogue-face 'face-alias 'custom-rogue)
(define-obsolete-face-alias 'custom-rogue-face 'custom-rogue "
22.1
")
(defface custom-modified '((((min-colors 88) (class color))
(:foreground "
white
" :background "
blue1
"))
...
...
@@ -1833,8 +1831,7 @@ item in another window.\n\n"))
(:slant italic :bold)))
"
Face
used
when
the
customize
item
has
been
modified.
"
:group 'custom-magic-faces)
;; backward-compatibility alias
(put 'custom-modified-face 'face-alias 'custom-modified)
(define-obsolete-face-alias 'custom-modified-face 'custom-modified "
22.1
")
(defface custom-set '((((min-colors 88) (class color))
(:foreground "
blue1
" :background "
white
"))
...
...
@@ -1844,8 +1841,7 @@ item in another window.\n\n"))
(:slant italic)))
"
Face
used
when
the
customize
item
has
been
set.
"
:group 'custom-magic-faces)
;; backward-compatibility alias
(put 'custom-set-face 'face-alias 'custom-set)
(define-obsolete-face-alias 'custom-set-face 'custom-set "
22.1
")
(defface custom-changed '((((min-colors 88) (class color))
(:foreground "
white
" :background "
blue1
"))
...
...
@@ -1855,8 +1851,7 @@ item in another window.\n\n"))
(:slant italic)))
"
Face
used
when
the
customize
item
has
been
changed.
"
:group 'custom-magic-faces)
;; backward-compatibility alias
(put 'custom-changed-face 'face-alias 'custom-changed)
(define-obsolete-face-alias 'custom-changed-face 'custom-changed "
22.1
")
(defface custom-themed '((((min-colors 88) (class color))
(:foreground "
white
" :background "
blue1
"))
...
...
@@ -1870,8 +1865,7 @@ item in another window.\n\n"))
(defface custom-saved '((t (:underline t)))
"
Face
used
when
the
customize
item
has
been
saved.
"
:group 'custom-magic-faces)
;; backward-compatibility alias
(put 'custom-saved-face 'face-alias 'custom-saved)
(define-obsolete-face-alias 'custom-saved-face 'custom-saved "
22.1
")
(defconst custom-magic-alist
'((nil "
#" underline "
\
...
...
@@ -2068,8 +2062,7 @@ and `face'."
"
Face
for
custom
buffer
buttons
if
`
custom-raised-buttons
'
is
non-nil.
"
:version "
21.1
"
:group 'custom-faces)
;; backward-compatibility alias
(put 'custom-button-face 'face-alias 'custom-button)
(define-obsolete-face-alias 'custom-button-face 'custom-button "
22.1
")
(defface custom-button-mouse
'((((type x w32 ns) (class color))
...
...
@@ -2105,8 +2098,8 @@ and `face'."
"
Face
for
pressed
custom
buttons
if
`
custom-raised-buttons
'
is
non-nil.
"
:version "
21.1
"
:group 'custom-faces)
;; backward-compatibility alias
(put 'custom-button-pressed-face 'face-alias
'custom-button-pressed)
(define-obsolete-face-alias 'custom-button-pressed-face
'custom-button-pressed
"
22.1
"
)
(defface custom-button-pressed-unraised
'((default :inherit custom-button-unraised)
...
...
@@ -2124,8 +2117,8 @@ and `face'."
(defface custom-documentation '((t nil))
"
Face
used
for
documentation
strings
in
customization
buffers.
"
:group 'custom-faces)
;; backward-compatibility alias
(put
'custom-documentation
-face 'face-alias 'custom-documentation
)
(define-obsolete-face-alias 'custom-documentation-face
'custom-documentation
"
22.1
"
)
(defface custom-state '((((class color)
(background dark))
...
...
@@ -2136,8 +2129,7 @@ and `face'."
(t nil))
"
Face
used
for
State
descriptions
in
the
customize
buffer.
"
:group 'custom-faces)
;; backward-compatibility alias
(put 'custom-state-face 'face-alias 'custom-state)
(define-obsolete-face-alias 'custom-state-face 'custom-state "
22.1
")
(defface custom-link
'((t :inherit link))
...
...
@@ -2370,8 +2362,7 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"."
"
Face
used
for
comments
on
variables
or
faces.
"
:version "
21.1
"
:group 'custom-faces)
;; backward-compatibility alias
(put 'custom-comment-face 'face-alias 'custom-comment)
(define-obsolete-face-alias 'custom-comment-face 'custom-comment "
22.1
")
;; like font-lock-comment-face
(defface custom-comment-tag
...
...
@@ -2384,8 +2375,7 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"."
(t (:weight bold)))
"
Face
used
for
the
comment
tag
on
variables
or
faces.
"
:group 'custom-faces)
;; backward-compatibility alias
(put 'custom-comment-tag-face 'face-alias 'custom-comment-tag)
(define-obsolete-face-alias 'custom-comment-tag-face 'custom-comment-tag "
22.1
")
(define-widget 'custom-comment 'string
"
User
comment.
"
...
...
@@ -2438,14 +2428,14 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"."
(t (:weight bold)))
"
Face
used
for
unpushable
variable
tags.
"
:group 'custom-faces)
;; backward-compatibility alias
(put 'custom-variable-tag-face 'face-alias
'custom-variable-tag)
(define-obsolete-face-alias 'custom-variable-tag-face
'custom-variable-tag
"
22.1
"
)
(defface custom-variable-button '((t (:underline t :weight bold)))
"
Face
used
for
pushable
variable
tags.
"
:group 'custom-faces)
;; backward-compatibility alias
(put
'custom-variable-button
-face 'face-alias 'custom-variable-button
)
(define-obsolete-face-alias 'custom-variable-button-face
'custom-variable-button
"
22.1
"
)
(defcustom custom-variable-default-form 'edit
"
Default
form
of
displaying
variable
values.
"
...
...
@@ -3217,8 +3207,7 @@ Only match frames that support the specified face attributes.")
`((t :inherit custom-variable-tag))
"Face used for face tags."
:group 'custom-faces)
;; backward-compatibility alias
(put 'custom-face-tag-face 'face-alias 'custom-face-tag)
(define-obsolete-face-alias 'custom-face-tag-face 'custom-face-tag "22.1")
(defcustom custom-face-default-form 'selected
"Default form of displaying face definition."
...
...
@@ -3802,8 +3791,7 @@ and so forth. The remaining group tags are shown with `custom-group-tag'."
(t (:weight bold)))
"
Face
used
for
group
tags.
"
:group 'custom-faces)
;; backward-compatibility alias
(put 'custom-group-tag-face-1 'face-alias 'custom-group-tag-1)
(define-obsolete-face-alias 'custom-group-tag-face-1 'custom-group-tag-1 "
22.1
")
(defface custom-group-tag
`((((class color)
...
...
@@ -3818,8 +3806,7 @@ and so forth. The remaining group tags are shown with `custom-group-tag'."
(t (:weight bold)))
"
Face
used
for
low
level
group
tags.
"
:group 'custom-faces)
;; backward-compatibility alias
(put 'custom-group-tag-face 'face-alias 'custom-group-tag)
(define-obsolete-face-alias 'custom-group-tag-face 'custom-group-tag "
22.1
")
(define-widget 'custom-group 'custom
"
Customize
group.
"
...
...
lisp/diff-mode.el
View file @
c4f6e489
;;; diff-mode.el --- a mode for viewing/editing context diffs
;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
;;
2005, 2006,
2007, 2008, 2009 Free Software Foundation, Inc.
;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2005, 2006,
;; 2007, 2008, 2009
Free Software Foundation, Inc.
;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
;; Keywords: convenience patch diff
...
...
@@ -242,8 +242,7 @@ try to refine the current hunk, as well."
(
t
:weight
bold
))
"`diff-mode' face inherited by hunk and index header faces."
:group
'diff-mode
)
;; backward-compatibility alias
(
put
'diff-header-face
'face-alias
'diff-header
)
(
define-obsolete-face-alias
'diff-header-face
'diff-header
"22.1"
)
(
defvar
diff-header-face
'diff-header
)
(
defface
diff-file-header
...
...
@@ -258,40 +257,35 @@ try to refine the current hunk, as well."
(
t
:weight
bold
))
; :height 1.3
"`diff-mode' face used to highlight file header lines."
:group
'diff-mode
)
;; backward-compatibility alias
(
put
'diff-file-header-face
'face-alias
'diff-file-header
)
(
define-obsolete-face-alias
'diff-file-header-face
'diff-file-header
"22.1"
)
(
defvar
diff-file-header-face
'diff-file-header
)
(
defface
diff-index
'
((
t
:inherit
diff-file-header
))
"`diff-mode' face used to highlight index header lines."
:group
'diff-mode
)
;; backward-compatibility alias
(
put
'diff-index-face
'face-alias
'diff-index
)
(
define-obsolete-face-alias
'diff-index-face
'diff-index
"22.1"
)
(
defvar
diff-index-face
'diff-index
)
(
defface
diff-hunk-header
'
((
t
:inherit
diff-header
))
"`diff-mode' face used to highlight hunk header lines."
:group
'diff-mode
)
;; backward-compatibility alias
(
put
'diff-hunk-header-face
'face-alias
'diff-hunk-header
)
(
define-obsolete-face-alias
'diff-hunk-header-face
'diff-hunk-header
"22.1"
)
(
defvar
diff-hunk-header-face
'diff-hunk-header
)
(
defface
diff-removed
'
((
t
:inherit
diff-changed
))
"`diff-mode' face used to highlight removed lines."
:group
'diff-mode
)
;; backward-compatibility alias
(
put
'diff-removed-face
'face-alias
'diff-removed
)
(
define-obsolete-face-alias
'diff-removed-face
'diff-removed
"22.1"
)
(
defvar
diff-removed-face
'diff-removed
)
(
defface
diff-added
'
((
t
:inherit
diff-changed
))
"`diff-mode' face used to highlight added lines."
:group
'diff-mode
)
;; backward-compatibility alias
(
put
'diff-added-face
'face-alias
'diff-added
)
(
define-obsolete-face-alias
'diff-added-face
'diff-added
"22.1"
)
(
defvar
diff-added-face
'diff-added
)
(
defface
diff-changed
...
...
@@ -301,8 +295,7 @@ try to refine the current hunk, as well."
:foreground
"yellow"
:weight
bold
:slant
italic
))
"`diff-mode' face used to highlight changed lines."
:group
'diff-mode
)
;; backward-compatibility alias
(
put
'diff-changed-face
'face-alias
'diff-changed
)
(
define-obsolete-face-alias
'diff-changed-face
'diff-changed
"22.1"
)
(
defvar
diff-changed-face
'diff-changed
)
(
defface
diff-indicator-removed
...
...
@@ -330,24 +323,21 @@ try to refine the current hunk, as well."
'
((
t
:inherit
diff-header
))
"`diff-mode' face used to highlight function names produced by \"diff -p\"."
:group
'diff-mode
)
;; backward-compatibility alias
(
put
'diff-function-face
'face-alias
'diff-function
)
(
define-obsolete-face-alias
'diff-function-face
'diff-function
"22.1"
)
(
defvar
diff-function-face
'diff-function
)
(
defface
diff-context
'
((((
class
color
grayscale
)
(
min-colors
88
))
:inherit
shadow
))
"`diff-mode' face used to highlight context and other side-information."
:group
'diff-mode
)
;; backward-compatibility alias
(
put
'diff-context-face
'face-alias
'diff-context
)
(
define-obsolete-face-alias
'diff-context-face
'diff-context
"22.1"
)
(
defvar
diff-context-face
'diff-context
)
(
defface
diff-nonexistent
'
((
t
:inherit
diff-file-header
))
"`diff-mode' face used to highlight nonexistent files in recursive diffs."
:group
'diff-mode
)
;; backward-compatibility alias
(
put
'diff-nonexistent-face
'face-alias
'diff-nonexistent
)
(
define-obsolete-face-alias
'diff-nonexistent-face
'diff-nonexistent
"22.1"
)
(
defvar
diff-nonexistent-face
'diff-nonexistent
)
(
defconst
diff-yank-handler
'
(
diff-yank-function
))
...
...
lisp/generic-x.el
View file @
c4f6e489
;;; generic-x.el --- A collection of generic modes
;; Copyright (C) 1997, 1998, 2001, 2002, 2003, 2004,
;;
2005, 2006, 2007,
2008, 2009 Free Software Foundation, Inc.
;; Copyright (C) 1997, 1998, 2001, 2002, 2003, 2004,
2005, 2006, 2007,
;; 2008, 2009
Free Software Foundation, Inc.
;; Author: Peter Breton <pbreton@cs.umb.edu>
;; Created: Tue Oct 08 1996
...
...
@@ -1775,8 +1775,7 @@ like an INI file. You can add this hook to `find-file-hook'."
(
t
(
:weight
bold
)))
"Font Lock mode face used to highlight TABs."
:group
'generic-x
)
;; backward-compatibility alias
(
put
'show-tabs-tab-face
'face-alias
'show-tabs-tab
)
(
define-obsolete-face-alias
'show-tabs-tab-face
'show-tabs-tab
"22.1"
)
(
defface
show-tabs-space
'
((((
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'."
(
t
(
:weight
bold
)))
"Font Lock mode face used to highlight spaces."
:group
'generic-x
)
;; backward-compatibility alias
(
put
'show-tabs-space-face
'face-alias
'show-tabs-space
)
(
define-obsolete-face-alias
'show-tabs-space-face
'show-tabs-space
"22.1"
)
(
define-generic-mode
show-tabs-generic-mode
nil
;; no comment char
...
...
lisp/hilit-chg.el
View file @
c4f6e489
;;; hilit-chg.el --- minor mode displaying buffer changes with special face
;; Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004,
;;
2005, 2006, 2007,
2008, 2009 Free Software Foundation, Inc.
;; Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004,
2005, 2006, 2007,
;; 2008, 2009
Free Software Foundation, Inc.
;; Author: Richard Sharman <rsharman@pobox.com>
;; Keywords: faces
...
...
@@ -195,8 +195,8 @@
(
t
(
:inverse-video
t
)))
"Face used for highlighting changes."
:group
'highlight-changes
)
;; backward-compatibility alias
(
put
'highlight-changes-face
'face-alias
'highlight-changes
)
(
define-obsolete-face-alias
'highlight-changes-face
'highlight-changes
"22.1"
)
;; This looks pretty ugly, actually. Maybe the underline should be removed.
(
defface
highlight-changes-delete
...
...
@@ -205,13 +205,11 @@
(
t
(
:inverse-video
t
)))
"Face used for highlighting deletions."
:group
'highlight-changes
)
;; backward-compatibility alias
(
put
'highlight-changes-delete-face
'face-alias
'highlight-changes-delete
)
(
define-obsolete-face-alias
'highlight-changes-delete-face
'highlight-changes-delete
"22.1"
)
;; A (not very good) default list of colors to rotate through.
;;
(
define-obsolete-variable-alias
'highlight-changes-colours
'highlight-changes-colors
"22.1"
)
...
...
lisp/info.el
View file @
c4f6e489
...
...
@@ -83,32 +83,28 @@ The Lisp code is executed when the node is selected.")
(t :height 1.2 :inherit info-title-2))
"Face for info titles at level 1."
:group 'info)
;; backward-compatibility alias
(
put
'Info-title-1-face
'face-alias
'info-title-1
)
(define-obsolete-face-alias 'Info-title-1-face 'info-title-1 "22.1")
(defface info-title-2
'((((type tty pc) (class color)) :foreground "lightblue" :weight bold)
(t :height 1.2 :inherit info-title-3))
"Face for info titles at level 2."
:group 'info)
;; backward-compatibility alias
(
put
'Info-title-2-face
'face-alias
'info-title-2
)
(define-obsolete-face-alias 'Info-title-2-face 'info-title-2 "22.1")
(defface info-title-3
'((((type tty pc) (class color)) :weight bold)
(t :height 1.2 :inherit info-title-4))
"Face for info titles at level 3."
:group 'info)
;; backward-compatibility alias
(
put
'Info-title-3-face
'face-alias
'info-title-3
)
(define-obsolete-face-alias 'Info-title-3-face 'info-title-3 "22.1")
(defface info-title-4
'((((type tty pc) (class color)) :weight bold)
(t :weight bold :inherit variable-pitch))
"Face for info titles at level 4."
:group 'info)
;; backward-compatibility alias
(
put
'Info-title-4-face
'face-alias
'info-title-4
)
(define-obsolete-face-alias 'Info-title-4-face 'info-title-4 "22.1")
(defface info-menu-header
'((((type tty pc))
...
...
lisp/isearch.el
View file @
c4f6e489
;;; isearch.el --- incremental search minor mode
;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000,
;;
2001,
2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000,
2001,
;; 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
;; Free Software Foundation, Inc.
;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu>
...
...
@@ -322,7 +322,7 @@ A value of nil means highlight all matches."
"Face for lazy highlighting of matches other than the current one."
:group
'lazy-highlight
:group
'basic-faces
)
(
put
'isearch-lazy-highlight-face
'face-alias
'lazy-highlight
)
(
define-obsolete-face-alias
'isearch-lazy-highlight-face
'lazy-highlight
"22.1"
)
(
defvar
lazy-highlight-face
'lazy-highlight
)
(
define-obsolete-variable-alias
'isearch-lazy-highlight-face
'lazy-highlight-face
...
...
lisp/log-view.el
View file @
c4f6e489
;;; log-view.el --- Major mode for browsing RCS/CVS/SCCS log output
;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005,
;;
2006, 2007,
2008, 2009 Free Software Foundation, Inc.
;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007,
;; 2008, 2009
Free Software Foundation, Inc.
;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
;; Keywords: rcs sccs cvs log version-control
...
...
@@ -178,8 +178,7 @@
(
t
(
:weight
bold
)))
"Face for the file header line in `log-view-mode'."
:group
'log-view
)
;; backward-compatibility alias
(
put
'log-view-file-face
'face-alias
'log-view-file
)
(
define-obsolete-face-alias
'log-view-file-face
'log-view-file
"22.1"
)
(
defvar
log-view-file-face
'log-view-file
)
(
defface
log-view-message
...
...
@@ -189,7 +188,7 @@
"Face for the message header line in `log-view-mode'."
:group
'log-view
)
;; backward-compatibility alias
(
put
'log-view-message-face
'face-alias
'log-view-message
)
(
define-obsolete-face-alias
'log-view-message-face
'log-view-message
"22.1"
)
(
defvar
log-view-message-face
'log-view-message
)
(
defvar
log-view-file-re
...
...
lisp/obsolete/old-whitespace.el
View file @
c4f6e489
;;; whitespace.el --- warn about and clean bogus whitespaces in the file
;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
;;
2005, 2006, 2007,
2008, 2009 Free Software Foundation, Inc.
;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
2005, 2006, 2007,
;; 2008, 2009
Free Software Foundation, Inc.
;; Author: Rajesh Vaidheeswarran <rv@gnu.org>
;; Keywords: convenience
...
...
@@ -308,8 +308,8 @@ To disable timer scans, set this to zero."
(
:background
"white"
)))
"Face used for highlighting the bogus whitespaces that exist in the buffer."
:group
'whitespace-faces
)
;; backward-compatibility alias
(
put
'whitespace-highlight
-face
'face-alias
'whitespace-highlight
)
(
define-obsolete-face-alias
'whitespace-highlight-face
'whitespace-highlight
"22.1"
)
(
if
(
not
(
assoc
'whitespace-mode
minor-mode-alist
))
(
setq
minor-mode-alist
(
cons
'
(
whitespace-mode
whitespace-mode-line
)
...
...
lisp/paren.el
View file @
c4f6e489
;;; paren.el --- highlight matching paren
;; Copyright (C) 1993, 1996, 2001, 2002, 2003, 2004,
;;
2005, 2006, 2007,
2008, 2009 Free Software Foundation, Inc.
;; Copyright (C) 1993, 1996, 2001, 2002, 2003, 2004,
2005, 2006, 2007,
;; 2008, 2009
Free Software Foundation, Inc.
;; Author: rms@gnu.org
;; Maintainer: FSF
...
...
@@ -87,16 +87,15 @@ otherwise)."
:background
"gray"
))
"Show Paren mode face used for a matching paren."
:group
'paren-showing-faces
)
;; backward-compatibility alias
(
put
'show-paren-match-face
'face-alias
'show-paren-match
)
(
define-obsolete-face-alias
'show-paren-match-face
'show-paren-match
"22.1"
)
(
defface
show-paren-mismatch
'
((((
class
color
))
(
:foreground
"white"
:background
"purple"
))
(
t
(
:inverse-video
t
)))
"Show Paren mode face used for a mismatching paren."
:group
'paren-showing-faces
)
;; backward-compatibility alias
(
put
'show-paren-mismatch-face
'face-alias
'show-paren-mismatch
)
(
define-obsolete-face-alias
'show-paren-mismatch-face
'show-paren-mismatch
"22.1"
)
(
defvar
show-paren-highlight-openparen
t
"*Non-nil turns on openparen highlighting when matching forward."
)
...
...
lisp/pcvs-info.el
View file @
c4f6e489
...
...
@@ -70,8 +70,7 @@ to confuse some users sometimes."
(
t
(
:weight
bold
)))
"PCL-CVS face used to highlight directory changes."
:group
'pcl-cvs
)
;; backward-compatibility alias
(
put
'cvs-header-face
'face-alias
'cvs-header
)
(
define-obsolete-face-alias
'cvs-header-face
'cvs-header
"22.1"
)
(
defface
cvs-filename
'
((((
class
color
)
(
background
dark
))
...
...
@@ -81,8 +80,7 @@ to confuse some users sometimes."
(
t
()))
"PCL-CVS face used to highlight file names."
:group
'pcl-cvs
)
;; backward-compatibility alias
(
put
'cvs-filename-face
'face-alias
'cvs-filename
)
(
define-obsolete-face-alias
'cvs-filename-face
'cvs-filename
"22.1"
)
(
defface
cvs-unknown
'
((((
class
color
)
(
background
dark
))
...
...
@@ -92,8 +90,7 @@ to confuse some users sometimes."
(
t
(
:slant
italic
)))
"PCL-CVS face used to highlight unknown file status."
:group
'pcl-cvs
)
;; backward-compatibility alias