summaryrefslogtreecommitdiff
path: root/lisp/info.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-09-01 07:24:13 +0000
committerGlenn Morris <rgm@gnu.org>2009-09-01 07:24:13 +0000
commitc4f6e489aa5c0d3559f442587b32b01cf7dbdb8d (patch)
tree77117e072ab68f0ad7a1039105faaac2368d5429 /lisp/info.el
parentd80619faefb04b289ea2dfb9d83256d3a61159f6 (diff)
downloademacs-c4f6e489aa5c0d3559f442587b32b01cf7dbdb8d.tar.gz
Mark face aliases with "-face" suffix as obsolete.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el12
1 files changed, 4 insertions, 8 deletions
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.")
(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))