branch: externals/avy
commit 455ebec6f30964dc124f0574326d1f7367a0c2f2
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
avy.el (avy-process): Amend last commit for avy-goto-char-timer
Re #283
---
avy.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/avy.el b/avy.el
index 27680da511..546c2aecaf 100644
--- a/avy.el
+++ b/avy.el
@@ -863,7 +863,7 @@ multiple OVERLAY-FN invocations."
(res (avy--process-1 candidates overlay-fn cleanup-fn)))
(cond
((null res)
- (if (eq avy-style 'words)
+ (if (and (eq avy-style 'words) candidates)
(avy-process original-cands overlay-fn cleanup-fn)
(message "zero candidates")
t))