* progmodes/grep.el (rgrep): Don't bind `process-connection-type', because that makes the colours go away.

This commit is contained in:
Lars Magne Ingebrigtsen 2011-07-06 17:49:19 +02:00
parent 9e87df06a3
commit 12b167347f
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
* 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.

View file

@ -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