diff options
author | Glenn Morris <[email protected]> | 2009-09-01 07:24:13 +0000 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2009-09-01 07:24:13 +0000 |
commit | c4f6e489aa5c0d3559f442587b32b01cf7dbdb8d (patch) | |
tree | 77117e072ab68f0ad7a1039105faaac2368d5429 /lisp/obsolete/old-whitespace.el | |
parent | d80619faefb04b289ea2dfb9d83256d3a61159f6 (diff) |
Mark face aliases with "-face" suffix as obsolete.
Diffstat (limited to 'lisp/obsolete/old-whitespace.el')
-rw-r--r-- | lisp/obsolete/old-whitespace.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/obsolete/old-whitespace.el b/lisp/obsolete/old-whitespace.el index 017aeb69f0..94592f61d4 100644 --- a/lisp/obsolete/old-whitespace.el +++ b/lisp/obsolete/old-whitespace.el @@ -1,7 +1,7 @@ ;;; 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 <[email protected]> ;; 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) |