summaryrefslogtreecommitdiff
path: root/lisp/novice.el
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 /lisp/novice.el
parent050dcc13ec3269b5dcf805a61c65ad1f905786a4 (diff)
downloademacs-6d9c9ad9a05444b481b5a6300c00d11da89e2803.tar.gz
(disabled-command-hook): Declare it with `define-obsolete-variable-alias'.
Diffstat (limited to 'lisp/novice.el')
-rw-r--r--lisp/novice.el3
1 files changed, 1 insertions, 2 deletions
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)