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 | |
| parent | 8e887df41b52fd19191addc2965a2b18a6ff0864 (diff) | |
| download | emacs-cbd5542a3ccf044c601318f288d9b022f53b1de2.tar.gz emacs-cbd5542a3ccf044c601318f288d9b022f53b1de2.zip | |
(grep-mode): Remove unnecessary autoload.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/progmodes/grep.el | 13 |
2 files changed, 7 insertions, 14 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 683719aa5c9..6d466b5a791 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2004-09-09 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * progmodes/grep.el (grep-mode): Remove unnecessary autoload. | ||
| 4 | |||
| 1 | 2004-09-09 Kim F. Storm <storm@cua.dk> | 5 | 2004-09-09 Kim F. Storm <storm@cua.dk> |
| 2 | 6 | ||
| 3 | * kmacro.el (kmacro-bind-to-key): Associate dedicated macro | 7 | * kmacro.el (kmacro-bind-to-key): Associate dedicated macro |
| @@ -11,8 +15,8 @@ | |||
| 11 | 15 | ||
| 12 | 2004-09-09 Lars Hansen <larsh@math.ku.dk> | 16 | 2004-09-09 Lars Hansen <larsh@math.ku.dk> |
| 13 | 17 | ||
| 14 | * desktop.el (desktop-clear-preserve-buffers): Remove | 18 | * desktop.el (desktop-clear-preserve-buffers): |
| 15 | make-obsolete-variable. | 19 | Remove make-obsolete-variable. |
| 16 | 20 | ||
| 17 | 2004-09-08 Stefan <monnier@iro.umontreal.ca> | 21 | 2004-09-08 Stefan <monnier@iro.umontreal.ca> |
| 18 | 22 | ||
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 |