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

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

[elpa] master c99956a 047/167: Fix window selection in counsel-locate


From: Oleh Krehel
Subject: [elpa] master c99956a 047/167: Fix window selection in counsel-locate
Date: Tue, 08 Dec 2015 10:49:49 +0000

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

    Fix window selection in counsel-locate
    
    * counsel.el (counsel-locate): Use `with-ivy-window'.
---
 counsel.el |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/counsel.el b/counsel.el
index da1e04c..96b7b00 100644
--- a/counsel.el
+++ b/counsel.el
@@ -590,8 +590,9 @@ Skip some dotfiles unless `ivy-text' requires them."
             :dynamic-collection t
             :history 'counsel-locate-history
             :action (lambda (file)
-                      (when file
-                        (find-file file)))
+                      (with-ivy-window
+                        (when file
+                          (find-file file))))
             :unwind #'counsel-delete-process))
 
 (defun counsel--generic (completion-fn)



reply via email to

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