emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master ff077c6 013/167: counsel.el (counsel--gg-candidates): Use


From: Oleh Krehel
Subject: [elpa] master ff077c6 013/167: counsel.el (counsel--gg-candidates): Use counsel-git-grep-cmd
Date: Tue, 08 Dec 2015 10:49:36 +0000

branch: master
commit ff077c66e09891bd071b1ca342f39054b33d7f1c
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    counsel.el (counsel--gg-candidates): Use counsel-git-grep-cmd
---
 counsel.el |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/counsel.el b/counsel.el
index 432d141..87d0eb7 100644
--- a/counsel.el
+++ b/counsel.el
@@ -689,8 +689,9 @@ The libraries are offered from `load-path'."
     (setq proc (start-process-shell-command
                 counsel-gg-process
                 counsel-gg-process
-                (format "git --no-pager grep --full-name -n --no-color -i -e 
%S | head -n 200"
-                        regex)))
+                (concat
+                 (format counsel-git-grep-cmd regex)
+                 " | head -n 200")))
     (set-process-sentinel
      proc
      #'counsel--gg-sentinel)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]