From 52e3545b1c8e31cff3a29ea4e93bc3c6b70199dd Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 16 Feb 2005 09:48:29 +0000 Subject: [PATCH] (disabled-command-hook): Autoload the defalias and the make-obsolete-variable call. --- lisp/novice.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) -- 2.39.5