branch: master commit b19a23af27a0454bcaffb266e5d5e3465be88e98 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
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 --- avy.el | 1 + 1 file changed, 1 insertion(+) diff --git a/avy.el b/avy.el index 7d949ea..630f3ab 100644 --- a/avy.el +++ b/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 ()