# HG changeset patch # User Richard M. Stallman # Date 1108547309 0 # Node ID 3fbab2787d99774c861d18e7d0ba5083a4290e87 # Parent 798f4c8b5626114389b63fb2edbc78e9a5c185d7 (disabled-command-hook): Autoload the defalias and the make-obsolete-variable call. diff -r 798f4c8b5626 -r 3fbab2787d99 lisp/novice.el --- a/lisp/novice.el Wed Feb 16 09:47:37 2005 +0000 +++ b/lisp/novice.el Wed Feb 16 09:48:29 2005 +0000 @@ -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)