diff --git a/lisp/novice.el b/lisp/novice.el index e9db95bd619..de92857980b 100644 --- a/lisp/novice.el +++ b/lisp/novice.el @@ -41,10 +41,9 @@ "Function to call to handle disabled commands. If nil, the feature is disabled, i.e., all commands work normally.") +;;;###autoload (defvaralias 'disabled-command-hook 'disabled-command-function) -(make-obsolete-variable - 'disabled-command-hook - 'disabled-command-function "22.1") +;;;###autoload (make-obsolete-variable 'disabled-command-hook 'disabled-command-function "22.1") ;;;###autoload (defun disabled-command-function (&rest ignore)