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

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

[elpa] master a4f4015 33/36: avy.el (avy--overlay-at-full): Check overla


From: Oleh Krehel
Subject: [elpa] master a4f4015 33/36: avy.el (avy--overlay-at-full): Check overlay window
Date: Tue, 19 May 2015 12:38:20 +0000

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

    avy.el (avy--overlay-at-full): Check overlay window
    
    * avy.el (avy--overlay-at-full): Update.
    
    Re #47
---
 avy.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/avy.el b/avy.el
index c80456b..da5f537 100644
--- a/avy.el
+++ b/avy.el
@@ -460,7 +460,8 @@ LEAF is normally ((BEG . END) . WND)."
       (save-excursion
         (goto-char beg)
         (when (cl-some (lambda (o)
-                         (eq (overlay-get o 'category) 'avy))
+                         (and (eq (overlay-get o 'category) 'avy)
+                              (eq (overlay-get o 'window) wnd)))
                        (overlays-in (point) (min (+ (point) len)
                                                  (line-end-position))))
           (setq str (substring str 0 1))



reply via email to

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