branch: master commit fdb21f6a79ead58412e0a470da21268e8acc0403 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
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--recompute-index 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") (progn (setq ivy--all-candidates '("Error"))