mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 21:33:05 +00:00
avy.el (avy--visible-p): buffer-invisibility-spec can be t
In that case, according to the doc if (get-char-property s 'invisible) is non-nil, it's invisible. Fixes #264 Re #261
This commit is contained in:
parent
5b3676f1a4
commit
b19a23af27
1
avy.el
1
avy.el
@ -875,6 +875,7 @@ Use OVERLAY-FN to visualize the decision overlay."
|
||||
(defun avy--visible-p (s)
|
||||
(let ((invisible (get-char-property s 'invisible)))
|
||||
(or (null invisible)
|
||||
(eq t buffer-invisibility-spec)
|
||||
(null (assoc invisible buffer-invisibility-spec)))))
|
||||
|
||||
(defun avy--next-visible-point ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user