1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-11 01:11:31 -07:00

xref--search-property: Jump over entries hidden by outline-minor-mode

* lisp/progmodes/xref.el (xref--search-property):
Jump over entries hidden by e.g. outline-minor-mode (bug#49731).
This commit is contained in:
Dmitry Gutov 2022-11-23 20:24:43 +02:00
parent 275bc78286
commit c38f3b1ce1

View file

@ -346,7 +346,9 @@ backward."
(value nil))
(while (progn
(goto-char (funcall next (point) property))
(not (or (setq value (get-text-property (point) property))
(not (or (and
(memq (get-char-property (point) 'invisible) '(ellipsis nil))
(setq value (get-text-property (point) property)))
(eobp)
(bobp)))))
(cond (value)