mirror of
https://github.com/abo-abo/avy.git
synced 2026-02-04 06:42:26 +00:00
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
This commit is contained in:
1
avy.el
1
avy.el
@@ -875,6 +875,7 @@ Use OVERLAY-FN to visualize the decision overlay."
|
|||||||
(defun avy--visible-p (s)
|
(defun avy--visible-p (s)
|
||||||
(let ((invisible (get-char-property s 'invisible)))
|
(let ((invisible (get-char-property s 'invisible)))
|
||||||
(or (null invisible)
|
(or (null invisible)
|
||||||
|
(eq t buffer-invisibility-spec)
|
||||||
(null (assoc invisible buffer-invisibility-spec)))))
|
(null (assoc invisible buffer-invisibility-spec)))))
|
||||||
|
|
||||||
(defun avy--next-visible-point ()
|
(defun avy--next-visible-point ()
|
||||||
|
|||||||
Reference in New Issue
Block a user