changeset 60100:3fbab2787d99

(disabled-command-hook): Autoload the defalias and the make-obsolete-variable call.
author Richard M. Stallman <rms@gnu.org>
date Wed, 16 Feb 2005 09:48:29 +0000
parents 798f4c8b5626
children aa148fbcec2e
files lisp/novice.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)