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.
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)