Skip to content

Conversation

@dvzubarev
Copy link
Contributor

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:
`
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant