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

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

[elpa] master 438e51d 24/54: counsel.el (counsel-git-grep-function): Fix


From: Oleh Krehel
Subject: [elpa] master 438e51d 24/54: counsel.el (counsel-git-grep-function): Fix up
Date: Tue, 29 Sep 2015 14:09:55 +0000

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

    counsel.el (counsel-git-grep-function): Fix up
    
    Set `ivy--old-re' for the benefit of fancy minibuffer faces.
---
 counsel.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/counsel.el b/counsel.el
index 7474060..dec621a 100644
--- a/counsel.el
+++ b/counsel.el
@@ -339,7 +339,7 @@
       (counsel-more-chars 3)
     (let* ((default-directory counsel--git-grep-dir)
            (cmd (format "git --no-pager grep --full-name -n --no-color -i -e 
%S"
-                        (ivy--regex string t))))
+                        (setq ivy--old-re (ivy--regex string t)))))
       (if (<= counsel--git-grep-count 20000)
           (split-string (shell-command-to-string cmd) "\n" t)
         (counsel--gg-candidates (ivy--regex string))



reply via email to

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