aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2003-11-23 22:51:14 +0000
committerKim F. Storm2003-11-23 22:51:14 +0000
commit5f032b5036ce3bae4f61c75a28f1389a09a1c83d (patch)
tree01f646a281f87f9a4720224bdaccdb9413a73d4d
parent63dc7c6bf84dba246df09f50088594df79996ee4 (diff)
downloademacs-5f032b5036ce3bae4f61c75a28f1389a09a1c83d.tar.gz
emacs-5f032b5036ce3bae4f61c75a28f1389a09a1c83d.zip
Remove grep-use-compilation-buffer defcustom.
-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 @@
39 (grep-tree-ignore-CVS-directories): Move to grep custom group. 39 (grep-tree-ignore-CVS-directories): Move to grep custom group.
40 (grep-setup-hook): New hook variable. 40 (grep-setup-hook): New hook variable.
41 (grep-mode-map): New keymap for grep commands. Add Grep menu. 41 (grep-mode-map): New keymap for grep commands. Add Grep menu.
42 (grep-use-compilation-buffer): New defcustom.
43 (grep-last-buffer): New defvar, override compilation-last-buffer. 42 (grep-last-buffer): New defvar, override compilation-last-buffer.
44 (grep): Add optional arg HIGHLIGHT-REGEXP. Doc fix. 43 (grep): Add optional arg HIGHLIGHT-REGEXP. Doc fix.
45 Call compile-internal with args highlight-regexp and grep-mode-map. 44 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:
195 195
196;;;; TODO --- refine this!! 196;;;; TODO --- refine this!!
197 197
198(defcustom grep-use-compilation-buffer t 198;;; (defcustom grep-use-compilation-buffer t
199 "When non-nil, grep specific commands update `compilation-last-buffer'. 199;;; "When non-nil, grep specific commands update `compilation-last-buffer'.
200This means that standard compile commands like \\[next-error] and \\[compile-goto-error] 200;;; This means that standard compile commands like \\[next-error] and \\[compile-goto-error]
201can be used to navigate between grep matches (the default). 201;;; can be used to navigate between grep matches (the default).
202Otherwise, the grep specific commands like \\[grep-next-match] must 202;;; Otherwise, the grep specific commands like \\[grep-next-match] must
203be used to navigate between grep matches." 203;;; be used to navigate between grep matches."
204 :type 'boolean 204;;; :type 'boolean
205 :group 'grep) 205;;; :group 'grep)
206 206
207;; override compilation-last-buffer 207;; override compilation-last-buffer
208(defvar grep-last-buffer nil 208(defvar grep-last-buffer nil