Mercurial > emacs
changeset 57043:cb013e5835b8
(grep-mode): Remove unnecessary autoload.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 09 Sep 2004 21:42:52 +0000 |
parents | b395b3e4c4c7 |
children | aabc0f458d28 42acc7fa8a4f |
files | lisp/ChangeLog lisp/progmodes/grep.el |
diffstat | 2 files changed, 7 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Thu Sep 09 20:51:18 2004 +0000 +++ b/lisp/ChangeLog Thu Sep 09 21:42:52 2004 +0000 @@ -1,3 +1,7 @@ +2004-09-09 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/grep.el (grep-mode): Remove unnecessary autoload. + 2004-09-09 Kim F. Storm <storm@cua.dk> * kmacro.el (kmacro-bind-to-key): Associate dedicated macro @@ -11,8 +15,8 @@ 2004-09-09 Lars Hansen <larsh@math.ku.dk> - * desktop.el (desktop-clear-preserve-buffers): Remove - make-obsolete-variable. + * desktop.el (desktop-clear-preserve-buffers): + Remove make-obsolete-variable. 2004-09-08 Stefan <monnier@iro.umontreal.ca>
--- a/lisp/progmodes/grep.el Thu Sep 09 20:51:18 2004 +0000 +++ b/lisp/progmodes/grep.el Thu Sep 09 21:42:52 2004 +0000 @@ -500,17 +500,6 @@ 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 @@ (provide 'grep) -;;; arch-tag: 5a5b9169-a79d-4f38-9c38-f69615f39c4d +;; arch-tag: 5a5b9169-a79d-4f38-9c38-f69615f39c4d ;;; grep.el ends here