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

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

[elpa] master e7d778b 47/63: counsel.el (counsel-recoll): Simplify


From: Oleh Krehel
Subject: [elpa] master e7d778b 47/63: counsel.el (counsel-recoll): Simplify
Date: Fri, 21 Aug 2015 12:08:44 +0000

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

    counsel.el (counsel-recoll): Simplify
---
 counsel.el |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/counsel.el b/counsel.el
index 04be3db..1d85b0b 100644
--- a/counsel.el
+++ b/counsel.el
@@ -876,7 +876,6 @@ You'll be given a list of files that match.
 Selecting a file will launch `swiper' for that file.
 INITIAL-INPUT can be given as the initial minibuffer input."
   (interactive)
-  (setq counsel--git-grep-dir default-directory)
   (ivy-read "recoll: " 'counsel-recoll-function
             :initial-input initial-input
             :dynamic-collection t
@@ -886,8 +885,7 @@ INITIAL-INPUT can be given as the initial minibuffer input."
                         (let ((file-name (match-string 1 x)))
                           (find-file file-name)
                           (unless (string-match "pdf$" x)
-                            (swiper ivy-text)))))
-            :unwind #'swiper--cleanup))
+                            (swiper ivy-text)))))))
 
 (provide 'counsel)
 



reply via email to

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