avy.el (avy--line-cands): Allow "invisible" 'org-link

Fixes #269
This commit is contained in:
Oleh Krehel 2019-04-04 10:55:12 +02:00
parent 85b5d574cd
commit 4d52b5cb7e

4
avy.el
View File

@ -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))) (narrow-to-region ws (or end (window-end (selected-window) t)))
(goto-char (point-min)) (goto-char (point-min))
(while (< (point) (point-max)) (while (< (point) (point-max))
(unless (get-char-property (when (member (get-char-property
(max (1- (point)) ws) 'invisible) (max (1- (point)) ws) 'invisible) '(nil org-link))
(push (cons (push (cons
(if (eq avy-style 'post) (if (eq avy-style 'post)
(line-end-position) (line-end-position)