From: Juanma Barranquero Date: Tue, 19 Jul 2005 14:57:36 +0000 (+0000) Subject: (disabled-command-hook): Declare it with `define-obsolete-variable-alias'. X-Git-Tag: emacs-pretest-22.0.90~7982 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6d9c9ad9a05444b481b5a6300c00d11da89e2803;p=emacs.git (disabled-command-hook): Declare it with `define-obsolete-variable-alias'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2b4dbf45551..baa0c17a66f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -75,6 +75,9 @@ 2005-07-19 Juanma Barranquero + * 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. diff --git a/lisp/novice.el b/lisp/novice.el index 6fd67d4ac1e..ea17ea642e5 100644 --- a/lisp/novice.el +++ b/lisp/novice.el @@ -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)