(grep-tree-ignore-CVS-directories): Move to grep custom group.
(grep-setup-hook): New hook variable.
(grep-mode-map): New keymap for grep commands. Add Grep menu.
- (grep-use-compilation-buffer): New defcustom.
(grep-last-buffer): New defvar, override compilation-last-buffer.
(grep): Add optional arg HIGHLIGHT-REGEXP. Doc fix.
Call compile-internal with args highlight-regexp and grep-mode-map.
;;;; TODO --- refine this!!
-(defcustom grep-use-compilation-buffer t
- "When non-nil, grep specific commands update `compilation-last-buffer'.
-This means that standard compile commands like \\[next-error] and \\[compile-goto-error]
-can be used to navigate between grep matches (the default).
-Otherwise, the grep specific commands like \\[grep-next-match] must
-be used to navigate between grep matches."
- :type 'boolean
- :group 'grep)
+;;; (defcustom grep-use-compilation-buffer t
+;;; "When non-nil, grep specific commands update `compilation-last-buffer'.
+;;; This means that standard compile commands like \\[next-error] and \\[compile-goto-error]
+;;; can be used to navigate between grep matches (the default).
+;;; Otherwise, the grep specific commands like \\[grep-next-match] must
+;;; be used to navigate between grep matches."
+;;; :type 'boolean
+;;; :group 'grep)
;; override compilation-last-buffer
(defvar grep-last-buffer nil