summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/progmodes/grep.el16
2 files changed, 8 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 37be168ba7b..6ed8101077d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -39,7 +39,6 @@
(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.
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 27932806872..ea5fd421fe5 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -195,14 +195,14 @@ The following place holders should be present in the string:
;;;; 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