# HG changeset patch # User Juanma Barranquero # Date 1121784904 0 # Node ID d96725e9e9a87fa4c64fec09c710874f374a1e7f # Parent a4d1eb8d55e6b1b06f1ae018ded6f1f38f586eeb (disabled-command-hook): Declare it with `define-obsolete-variable-alias'. diff -r a4d1eb8d55e6 -r d96725e9e9a8 lisp/novice.el --- 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)