diff options
author | Glenn Morris <rgm@gnu.org> | 2009-09-01 07:24:13 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2009-09-01 07:24:13 +0000 |
commit | c4f6e489aa5c0d3559f442587b32b01cf7dbdb8d (patch) | |
tree | 77117e072ab68f0ad7a1039105faaac2368d5429 /lisp/paren.el | |
parent | d80619faefb04b289ea2dfb9d83256d3a61159f6 (diff) | |
download | emacs-c4f6e489aa5c0d3559f442587b32b01cf7dbdb8d.tar.gz |
Mark face aliases with "-face" suffix as obsolete.
Diffstat (limited to 'lisp/paren.el')
-rw-r--r-- | lisp/paren.el | 11 |
1 files changed, 5 insertions, 6 deletions
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 @@ ;;; 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.") |