]> git.eshelyaron.com Git - emacs.git/commitdiff
(disabled-command-hook): Autoload the defalias
authorRichard M. Stallman <rms@gnu.org>
Wed, 16 Feb 2005 09:48:29 +0000 (09:48 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 16 Feb 2005 09:48:29 +0000 (09:48 +0000)
and the make-obsolete-variable call.

lisp/novice.el

index e9db95bd619adc4adca81cf4b467d9bd120b38b9..de92857980bbf0a80492146ab5b22556b791d2a4 100644 (file)
   "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)