changeset 64513:d96725e9e9a8

(disabled-command-hook): Declare it with `define-obsolete-variable-alias'.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 19 Jul 2005 14:55:04 +0000
parents a4d1eb8d55e6
children 39dcd1204b00
files lisp/novice.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/novice.el	Tue Jul 19 14:42:40 2005 +0000
+++ b/lisp/novice.el	Tue Jul 19 14:55:04 2005 +0000
@@ -42,8 +42,7 @@
 If nil, the feature is disabled, i.e., all commands work normally.")
 
 ;;;###autoload
-(defvaralias 'disabled-command-hook 'disabled-command-function)
-;;;###autoload (make-obsolete-variable 'disabled-command-hook 'disabled-command-function "22.1")
+(define-obsolete-variable-alias 'disabled-command-hook 'disabled-command-function "22.1")
 
 ;;;###autoload
 (defun disabled-command-function (&rest ignore)