branch: master
commit 4d52b5cb7e1c565ca8dfe9c47b54330fd1a395bc
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
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)
(line-end-position)