Old avy--visible-p couldn't handle properly such case: (get-char-property s 'invisible) returns t;
buffer-invisibility-spec is set to ((outline . t) t)
from buffer-invisibility-spec documentation:
The list can have two kinds of elements:
ATOM and (ATOM . ELLIPSIS).
A text character is invisible if its invisible property is ATOM
Check for invisibility was taken from the Emacs function count-lines.
Old
avy--visible-p
couldn't handle properly such case:(get-char-property s 'invisible)
returns t;buffer-invisibility-spec
is set to((outline . t) t)
from buffer-invisibility-spec
documentation:Check for invisibility was taken from the Emacs function count-lines.