]> git.eshelyaron.com Git - emacs.git/commitdiff
(disabled-command-hook): Declare it with `define-obsolete-variable-alias'.
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 19 Jul 2005 14:57:36 +0000 (14:57 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 19 Jul 2005 14:57:36 +0000 (14:57 +0000)
lisp/ChangeLog
lisp/novice.el

index 2b4dbf45551be543c498b40aa9b080a980b35adf..baa0c17a66fe6a4be133720531e595044adfdbc4 100644 (file)
@@ -75,6 +75,9 @@
 
 2005-07-19  Juanma Barranquero  <lekktu@gmail.com>
 
+       * novice.el (disabled-command-hook): Declare it with
+       `define-obsolete-variable-alias'.
+
        * desktop.el (desktop-enable, desktop-buffer-modes-to-save)
        (desktop-buffer-misc-functions, desktop-buffer-handlers)
        (desktop-load-default): Add release to obsolescence info.
index 6fd67d4ac1eddc79b2640c6264749f034ce52441..ea17ea642e57c845b057f346942502c7bc3cad39 100644 (file)
@@ -42,8 +42,7 @@
 If nil, the feature is disabled, i.e., all commands work normally.")
 
 ;;;###autoload
-(defvaralias 'disabled-command-hook 'disabled-command-function)
-;;;###autoload (make-obsolete-variable 'disabled-command-hook 'disabled-command-function "22.1")
+(define-obsolete-variable-alias 'disabled-command-hook 'disabled-command-function "22.1")
 
 ;;;###autoload
 (defun disabled-command-function (&rest ignore)