(grep-mode): Remove unnecessary autoload.

This commit is contained in:
Stefan Monnier 2004-09-09 21:42:52 +00:00
parent 8e887df41b
commit cbd5542a3c
2 changed files with 7 additions and 14 deletions

View file

@ -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>

View file

@ -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