From 12b167347fb77c981e0b0fb34bd2e7d6c5eeddf6 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Wed, 6 Jul 2011 17:49:19 +0200 Subject: [PATCH] * progmodes/grep.el (rgrep): Don't bind `process-connection-type', because that makes the colours go away. --- lisp/ChangeLog | 3 +++ lisp/progmodes/grep.el | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 28309f913ca..e26ad08244f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2011-07-06 Lars Magne Ingebrigtsen + * progmodes/grep.el (rgrep): Don't bind `process-connection-type', + because that makes the colours go away. + * mail/sendmail.el (send-mail-function): Change the default to `sendmail-query-once'. (sendmail-query-once): Add an autoload cookie. 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 -- 2.39.2