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

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

[elpa] master db9d7b8 188/348: Fix counsel-grep for files with spaces in


From: Oleh Krehel
Subject: [elpa] master db9d7b8 188/348: Fix counsel-grep for files with spaces in the name
Date: Sat, 8 Apr 2017 11:03:52 -0400 (EDT)

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

    Fix counsel-grep for files with spaces in the name
    
    Fixes #700
---
 counsel.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index f9e765c..d11f8d1 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1700,7 +1700,8 @@ the command."
                   (setq ivy--old-re
                         (ivy--regex string)))))
       (counsel--async-command
-       (format counsel-grep-base-command regex counsel--git-grep-dir))
+       (format counsel-grep-base-command regex
+               (shell-quote-argument counsel--git-grep-dir)))
       nil)))
 
 (defun counsel-grep-action (x)



reply via email to

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