diff options
| author | Richard M. Stallman | 2005-02-16 09:48:29 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-02-16 09:48:29 +0000 |
| commit | 52e3545b1c8e31cff3a29ea4e93bc3c6b70199dd (patch) | |
| tree | 370648fd07b8a0c14d9bb5029b5b2b235185f2ad | |
| parent | f48e845f51905b4c061917f2a504d03acc802baf (diff) | |
| download | emacs-52e3545b1c8e31cff3a29ea4e93bc3c6b70199dd.tar.gz emacs-52e3545b1c8e31cff3a29ea4e93bc3c6b70199dd.zip | |
(disabled-command-hook): Autoload the defalias
and the make-obsolete-variable call.
| -rw-r--r-- | lisp/novice.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/novice.el b/lisp/novice.el index e9db95bd619..de92857980b 100644 --- a/lisp/novice.el +++ b/lisp/novice.el | |||
| @@ -41,10 +41,9 @@ | |||
| 41 | "Function to call to handle disabled commands. | 41 | "Function to call to handle disabled commands. |
| 42 | If nil, the feature is disabled, i.e., all commands work normally.") | 42 | If nil, the feature is disabled, i.e., all commands work normally.") |
| 43 | 43 | ||
| 44 | ;;;###autoload | ||
| 44 | (defvaralias 'disabled-command-hook 'disabled-command-function) | 45 | (defvaralias 'disabled-command-hook 'disabled-command-function) |
| 45 | (make-obsolete-variable | 46 | ;;;###autoload (make-obsolete-variable 'disabled-command-hook 'disabled-command-function "22.1") |
| 46 | 'disabled-command-hook | ||
| 47 | 'disabled-command-function "22.1") | ||
| 48 | 47 | ||
| 49 | ;;;###autoload | 48 | ;;;###autoload |
| 50 | (defun disabled-command-function (&rest ignore) | 49 | (defun disabled-command-function (&rest ignore) |