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

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

[elpa] master 7433f30 18/36: With 'at-full style, use full len to check


From: Oleh Krehel
Subject: [elpa] master 7433f30 18/36: With 'at-full style, use full len to check for overlap
Date: Tue, 19 May 2015 12:38:13 +0000

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

    With 'at-full style, use full len to check for overlap
    
    avy.el (avy--overlay-at-full): Update.
---
 avy.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/avy.el b/avy.el
index 17caaf5..229ce81 100644
--- a/avy.el
+++ b/avy.el
@@ -424,7 +424,8 @@ LEAF is normally ((BEG . END) . WND)."
         (goto-char beg)
         (when (cl-some (lambda (o)
                          (eq (overlay-get o 'category) 'avy))
-                       (overlays-at (1+ (point))))
+                       (overlays-in (point) (min (+ (point) len)
+                                                 (line-end-position))))
           (setq str (substring str 0 1))
           (setq len 1))
         (let* ((end (if (= beg (line-end-position))



reply via email to

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