[Top][All Lists]

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

[elpa] master 4d52b5c 105/110: avy.el (avy--line-cands): Allow "invisibl

From: Oleh Krehel
Subject: [elpa] master 4d52b5c 105/110: avy.el (avy--line-cands): Allow "invisible" 'org-link
Date: Sat, 11 May 2019 10:15:54 -0400 (EDT)

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

    avy.el (avy--line-cands): Allow "invisible" 'org-link
    Fixes #269
 avy.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/avy.el b/avy.el
index 4bd16c1..ec1aa4c 100644
--- a/avy.el
+++ b/avy.el
@@ -1543,8 +1543,8 @@ When BOTTOM-UP is non-nil, display avy candidates from 
top to bottom"
             (narrow-to-region ws (or end (window-end (selected-window) t)))
             (goto-char (point-min))
             (while (< (point) (point-max))
-              (unless (get-char-property
-                       (max (1- (point)) ws) 'invisible)
+              (when (member (get-char-property
+                             (max (1- (point)) ws) 'invisible) '(nil org-link))
                 (push (cons
                        (if (eq avy-style 'post)

reply via email to

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