From cbd5542a3ccf044c601318f288d9b022f53b1de2 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 9 Sep 2004 21:42:52 +0000 Subject: (grep-mode): Remove unnecessary autoload. --- lisp/ChangeLog | 8 ++++++-- lisp/progmodes/grep.el | 13 +------------ 2 files changed, 7 insertions(+), 14 deletions(-) (limited to 'lisp') diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 683719aa5c..6d466b5a79 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2004-09-09 Stefan Monnier + + * progmodes/grep.el (grep-mode): Remove unnecessary autoload. + 2004-09-09 Kim F. Storm * kmacro.el (kmacro-bind-to-key): Associate dedicated macro @@ -11,8 +15,8 @@ 2004-09-09 Lars Hansen - * desktop.el (desktop-clear-preserve-buffers): Remove - make-obsolete-variable. + * desktop.el (desktop-clear-preserve-buffers): + Remove make-obsolete-variable. 2004-09-08 Stefan diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 083540c782..4d9e05109a 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -500,17 +500,6 @@ temporarily highlight in visited source lines." command-args) 'grep-mode nil highlight-regexp))) -;;; This doesn't work: -;;; ###autoload (autoload 'grep-mode "grep" nil t) -;;; The ostensibly correct result is nonetheless opaque to the accounting -;;; done in `generate-file-autoloads'; in loaddefs.el, the generated elisp is -;;; correct but the generated header comment for grep.el lacks `grep-mode'. -;;; This approach also doesn't help other users of `define-compilation-mode' -;;; who wish to autoload. -;;; -;;; Better to extend autoload.el to grok `define-compilation-mode'. - -;;;###autoload (define-compilation-mode grep-mode "Grep" "Sets `grep-last-buffer' and `compilation-window-height'." (setq grep-last-buffer (current-buffer)) @@ -626,5 +615,5 @@ those sub directories of DIR." (provide 'grep) -;;; arch-tag: 5a5b9169-a79d-4f38-9c38-f69615f39c4d +;; arch-tag: 5a5b9169-a79d-4f38-9c38-f69615f39c4d ;;; grep.el ends here -- cgit v1.2.3