mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 05:23:05 +00:00
avy.el: More fixes to org-toggle-link-display
Fix `avy-goto-subword-0', `avy-goto-subword-1', `avy-goto-char-timer'. Re #261
This commit is contained in:
parent
118a3d616e
commit
74501e1235
4
avy.el
4
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))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user