[Top][All Lists]

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

[elpa] master fdb21f6 033/272: counsel.el (counsel--async-sentinel): Re-

From: Oleh Krehel
Subject: [elpa] master fdb21f6 033/272: counsel.el (counsel--async-sentinel): Re-display when no cands
Date: Mon, 25 Apr 2016 10:13:15 +0000

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

    counsel.el (counsel--async-sentinel): Re-display when no cands
 counsel.el |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 9c9bcca..4a734d4 100644
--- a/counsel.el
+++ b/counsel.el
@@ -560,7 +560,9 @@ Or the time of the last minibuffer update.")
                ivy-text re ivy--all-candidates)))
           (setq ivy--old-cands ivy--all-candidates))
-        (ivy--exhibit))
+        (if (null ivy--all-candidates)
+            (ivy--insert-minibuffer "")
+          (ivy--exhibit)))
     (if (string= event "exited abnormally with code 1\n")
           (setq ivy--all-candidates '("Error"))

reply via email to

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