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

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

[elpa] master 6331b7a 071/110: avy.el (avy--process): Fix avy-goto-line


From: Oleh Krehel
Subject: [elpa] master 6331b7a 071/110: avy.el (avy--process): Fix avy-goto-line for empty buffer
Date: Sat, 11 May 2019 10:15:46 -0400 (EDT)

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

    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

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