branch: master commit 74501e1235e0d39b7e6f8cc6b63e6c29c0e35504 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
avy.el: More fixes to org-toggle-link-display Fix `avy-goto-subword-0', `avy-goto-subword-1', `avy-goto-char-timer'. Re #261 --- avy.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/avy.el b/avy.el index 836153a..560401a 100644 --- a/avy.el +++ b/avy.el @@ -1409,7 +1409,7 @@ BEG and END narrow the scope where candidates are searched." (while (> (point) ws) (when (or (null predicate) (and predicate (funcall predicate))) - (unless (get-char-property (point) 'invisible) + (unless (not (avy--visible-p (point))) (push (cons (point) (selected-window)) window-cands))) (subword-backward)) (and (= (point) ws) @@ -1956,7 +1956,7 @@ Otherwise, the whole regex is highlighted." (goto-char (car pair)) (setq regex (funcall re-builder str)) (while (re-search-forward regex (cdr pair) t) - (unless (get-char-property (1- (point)) 'invisible) + (unless (not (avy--visible-p (1- (point)))) (let* ((idx (if (= (length (match-data)) 4) 1 0)) (ov (make-overlay (match-beginning idx) (match-end idx))))