summaryrefslogtreecommitdiff
path: root/lisp/novice.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/novice.el')
-rw-r--r--lisp/novice.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/novice.el b/lisp/novice.el
index a5d38a3a57f..fa41b2bbc1e 100644
--- a/lisp/novice.el
+++ b/lisp/novice.el
@@ -36,13 +36,13 @@
(eval-when-compile (require 'cl))
;;;###autoload
+(define-obsolete-variable-alias 'disabled-command-hook
+ 'disabled-command-function "22.1")
+;;;###autoload
(defvar disabled-command-function 'disabled-command-function
"Function to call to handle disabled commands.
If nil, the feature is disabled, i.e., all commands work normally.")
-;;;###autoload
-(define-obsolete-variable-alias 'disabled-command-hook 'disabled-command-function "22.1")
-
;; It is ok here to assume that this-command is a symbol
;; because we won't get called otherwise.
;;;###autoload