emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el [lexbind]
Date: Wed, 15 Sep 2004 20:32:59 -0400

Index: emacs/lisp/progmodes/grep.el
diff -c emacs/lisp/progmodes/grep.el:1.3.2.12 
emacs/lisp/progmodes/grep.el:1.3.2.13
*** emacs/lisp/progmodes/grep.el:1.3.2.12       Thu Sep 16 00:12:22 2004
--- emacs/lisp/progmodes/grep.el        Thu Sep 16 00:14:59 2004
***************
*** 500,516 ****
                         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))
--- 500,505 ----
***************
*** 626,630 ****
  
  (provide 'grep)
  
! ;;; arch-tag: 5a5b9169-a79d-4f38-9c38-f69615f39c4d
  ;;; grep.el ends here
--- 615,619 ----
  
  (provide 'grep)
  
! ;; arch-tag: 5a5b9169-a79d-4f38-9c38-f69615f39c4d
  ;;; grep.el ends here




reply via email to

[Prev in Thread] Current Thread [Next in Thread]