summaryrefslogtreecommitdiff
path: root/lisp/progmodes/grep.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-06 17:49:19 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-06 17:49:19 +0200
commit12b167347fb77c981e0b0fb34bd2e7d6c5eeddf6 (patch)
tree99505870f4e41805740420cd05db97ff94e7f7b9 /lisp/progmodes/grep.el
parent9e87df06a36582aba40079304f1ca63cce5d90b6 (diff)
downloademacs-12b167347fb77c981e0b0fb34bd2e7d6c5eeddf6.tar.gz
* progmodes/grep.el (rgrep): Don't bind `process-connection-type', because that makes the colours go away.
Diffstat (limited to 'lisp/progmodes/grep.el')
-rw-r--r--lisp/progmodes/grep.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index d00189f15c3..5561575ea20 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -966,8 +966,7 @@ This command shares argument histories with \\[lgrep] and \\[grep-find]."
(setq dir default-directory))
(if (null files)
(if (not (string= regexp grep-find-command))
- (let ((process-connection-type nil))
- (compilation-start regexp 'grep-mode)))
+ (compilation-start regexp 'grep-mode))
(setq dir (file-name-as-directory (expand-file-name dir)))
(require 'find-dired) ; for `find-name-arg'
(let ((command (grep-expand-template