diff options
| author | Stefan Monnier | 2004-09-09 21:42:52 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-09-09 21:42:52 +0000 |
| commit | cbd5542a3ccf044c601318f288d9b022f53b1de2 (patch) | |
| tree | 2c0dfae932c1c051c86a48e15c56a1fb07687500 /lisp/progmodes | |
| parent | 8e887df41b52fd19191addc2965a2b18a6ff0864 (diff) | |
| download | emacs-cbd5542a3ccf044c601318f288d9b022f53b1de2.tar.gz emacs-cbd5542a3ccf044c601318f288d9b022f53b1de2.zip | |
(grep-mode): Remove unnecessary autoload.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/grep.el | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 083540c7820..4d9e05109a8 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el | |||
| @@ -500,17 +500,6 @@ temporarily highlight in visited source lines." | |||
| 500 | command-args) | 500 | command-args) |
| 501 | 'grep-mode nil highlight-regexp))) | 501 | 'grep-mode nil highlight-regexp))) |
| 502 | 502 | ||
| 503 | ;;; This doesn't work: | ||
| 504 | ;;; ###autoload (autoload 'grep-mode "grep" nil t) | ||
| 505 | ;;; The ostensibly correct result is nonetheless opaque to the accounting | ||
| 506 | ;;; done in `generate-file-autoloads'; in loaddefs.el, the generated elisp is | ||
| 507 | ;;; correct but the generated header comment for grep.el lacks `grep-mode'. | ||
| 508 | ;;; This approach also doesn't help other users of `define-compilation-mode' | ||
| 509 | ;;; who wish to autoload. | ||
| 510 | ;;; | ||
| 511 | ;;; Better to extend autoload.el to grok `define-compilation-mode'. | ||
| 512 | |||
| 513 | ;;;###autoload | ||
| 514 | (define-compilation-mode grep-mode "Grep" | 503 | (define-compilation-mode grep-mode "Grep" |
| 515 | "Sets `grep-last-buffer' and `compilation-window-height'." | 504 | "Sets `grep-last-buffer' and `compilation-window-height'." |
| 516 | (setq grep-last-buffer (current-buffer)) | 505 | (setq grep-last-buffer (current-buffer)) |
| @@ -626,5 +615,5 @@ those sub directories of DIR." | |||
| 626 | 615 | ||
| 627 | (provide 'grep) | 616 | (provide 'grep) |
| 628 | 617 | ||
| 629 | ;;; arch-tag: 5a5b9169-a79d-4f38-9c38-f69615f39c4d | 618 | ;; arch-tag: 5a5b9169-a79d-4f38-9c38-f69615f39c4d |
| 630 | ;;; grep.el ends here | 619 | ;;; grep.el ends here |