diff lisp/eshell/em-prompt.el @ 104783:ddf360111014

Mark face aliases with "-face" suffix as obsolete.
author Glenn Morris <rgm@gnu.org>
date Tue, 01 Sep 2009 16:17:53 +0000
parents a9dc0e7c3f2b
children 3a4157b5e536
line wrap: on
line diff
--- a/lisp/eshell/em-prompt.el	Tue Sep 01 10:18:00 2009 +0000
+++ b/lisp/eshell/em-prompt.el	Tue Sep 01 16:17:53 2009 +0000
@@ -76,8 +76,7 @@
 For highlighting other kinds of strings -- similar to shell mode's
 behavior -- simply use an output filer which changes text properties."
   :group 'eshell-prompt)
-;; backward-compatibility alias
-(put 'eshell-prompt-face 'face-alias 'eshell-prompt)
+(define-obsolete-face-alias 'eshell-prompt-face 'eshell-prompt "22.1")
 
 (defcustom eshell-before-prompt-hook nil
   "*A list of functions to call before outputting the prompt."