|
|
|
@ -632,14 +632,14 @@ Use OVERLAY-FN to visualize the decision overlay." |
|
|
|
(defun avy--next-visible-point () |
|
|
|
(defun avy--next-visible-point () |
|
|
|
"Return the next closest point without 'invisible property." |
|
|
|
"Return the next closest point without 'invisible property." |
|
|
|
(let ((s (point))) |
|
|
|
(let ((s (point))) |
|
|
|
(while (and (not (= (point-max) (setq s (next-overlay-change s)))) |
|
|
|
(while (and (not (= (point-max) (setq s (next-char-property-change s)))) |
|
|
|
(get-char-property s 'invisible))) |
|
|
|
(get-char-property s 'invisible))) |
|
|
|
s)) |
|
|
|
s)) |
|
|
|
|
|
|
|
|
|
|
|
(defun avy--next-invisible-point () |
|
|
|
(defun avy--next-invisible-point () |
|
|
|
"Return the next closest point with 'invisible property." |
|
|
|
"Return the next closest point with 'invisible property." |
|
|
|
(let ((s (point))) |
|
|
|
(let ((s (point))) |
|
|
|
(while (and (not (= (point-max) (setq s (next-overlay-change s)))) |
|
|
|
(while (and (not (= (point-max) (setq s (next-char-property-change s)))) |
|
|
|
(not (get-char-property s 'invisible)))) |
|
|
|
(not (get-char-property s 'invisible)))) |
|
|
|
s)) |
|
|
|
s)) |
|
|
|
|
|
|
|
|
|
|
|
|