From 333e01e1320de2718e50266016a6d1e1e061e420 Mon Sep 17 00:00:00 2001 From: rubikitch Date: Tue, 24 Jan 2017 08:39:23 +0900 Subject: [PATCH] contrib/anything-grep.el: fontify when grep-highlight-matches is auto --- contrib/anything-grep.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/anything-grep.el b/contrib/anything-grep.el index 018a359..dc35b3c 100644 --- a/contrib/anything-grep.el +++ b/contrib/anything-grep.el @@ -212,7 +212,7 @@ GNU grep is expected for COMMAND. The grep result is colorized." (let ((process-environment process-environment) proc (tmpfile (make-temp-file "agrep-"))) - (when (eq grep-highlight-matches t) + (when grep-highlight-matches ;; Modify `process-environment' locally bound in `call-process-shell-command'. (setenv "GREP_OPTIONS" (concat (getenv "GREP_OPTIONS") " --color=always")) ;; for GNU grep 2.5.1 -- 2.11.4.GIT