summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2005-07-19 14:57:36 +0000
committerJuanma Barranquero <lekktu@gmail.com>2005-07-19 14:57:36 +0000
commit6d9c9ad9a05444b481b5a6300c00d11da89e2803 (patch)
tree67374e31269576b310f4bf621f34d5cf0c707847
parent050dcc13ec3269b5dcf805a61c65ad1f905786a4 (diff)
downloademacs-6d9c9ad9a05444b481b5a6300c00d11da89e2803.tar.gz
(disabled-command-hook): Declare it with `define-obsolete-variable-alias'.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/novice.el3
2 files changed, 4 insertions, 2 deletions
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 <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.
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)