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

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

[elpa] master 0f5e99b 030/110: avy.el: Use next-char-property-change, no


From: Oleh Krehel
Subject: [elpa] master 0f5e99b 030/110: avy.el: Use next-char-property-change, not next-overlay-change
Date: Sat, 11 May 2019 10:15:37 -0400 (EDT)

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

    avy.el: Use next-char-property-change, not next-overlay-change
    
    * avy.el (avy--next-visible-point):
    (avy--next-invisible-point): Update.
    
    Fixes #168
---
 avy.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/avy.el b/avy.el
index 8ef6ef5..615debd 100644
--- a/avy.el
+++ b/avy.el
@@ -632,14 +632,14 @@ Use OVERLAY-FN to visualize the decision overlay."
 (defun avy--next-visible-point ()
   "Return the next closest point without 'invisible property."
   (let ((s (point)))
-    (while (and (not (= (point-max) (setq s (next-overlay-change s))))
+    (while (and (not (= (point-max) (setq s (next-char-property-change s))))
                 (get-char-property s 'invisible)))
     s))
 
 (defun avy--next-invisible-point ()
   "Return the next closest point with 'invisible property."
   (let ((s (point)))
-    (while (and (not (= (point-max) (setq s (next-overlay-change s))))
+    (while (and (not (= (point-max) (setq s (next-char-property-change s))))
                 (not (get-char-property s 'invisible))))
     s))
 



reply via email to

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