]> code.delx.au - gnu-emacs/blobdiff - lisp/novice.el
Move define-obsolete-variable-alias before the var's definition.
[gnu-emacs] / lisp / novice.el
index a5d38a3a57f753f94b328a316cfb69c88880876c..fa41b2bbc1e5f7c8adee9e961676255fefc55368 100644 (file)
 
 (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