branch: master
commit 6331b7a6de770e9b41f0dec8895d16742dff1a97
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    avy.el (avy--process): Fix avy-goto-line for empty buffer
    
    Fixes #238
---
 avy.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/avy.el b/avy.el
index 6835e91..0735f78 100644
--- a/avy.el
+++ b/avy.el
@@ -737,7 +737,9 @@ Use OVERLAY-FN to visualize the decision overlay."
         (cands (copy-sequence candidates))
         res)
     (if (= len 0)
-        (message "zero candidates")
+        (progn
+          (message "zero candidates")
+          t)
       (if (= len 1)
           (setq res (car candidates))
         (unwind-protect

Reply via email to