# HG changeset patch # User Stefan Monnier # Date 1094766172 0 # Node ID cb013e5835b8809f2c7693396aadb8db5071b7c6 # Parent b395b3e4c4c7f200631959b2033ad925cfb72455 (grep-mode): Remove unnecessary autoload. diff -r b395b3e4c4c7 -r cb013e5835b8 lisp/ChangeLog --- 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 + + * 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 -r b395b3e4c4c7 -r cb013e5835b8 lisp/progmodes/grep.el --- 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