]> git.eshelyaron.com Git - emacs.git/commit
Eglot: require optional text-property-search.el
authorJoão Távora <joaotavora@gmail.com>
Fri, 7 Apr 2023 18:45:28 +0000 (19:45 +0100)
committerJoão Távora <joaotavora@gmail.com>
Fri, 7 Apr 2023 18:45:28 +0000 (19:45 +0100)
commit6cc5fe77244b76f00ec680873087b17ca38f776f
treea23a9c981bfae93891ecd833fe2a1e411e80613b
parent7239098ad436a10afddce117ab224189f6bd6b7f
Eglot: require optional text-property-search.el

Originally reported in
https://github.com/joaotavora/eglot/discussions/1201.

Also check for text-property-search-forward before using it, so we
won't break on Emacs 26.3.  At this point, better start relying on
compat.el, I guess.

* lisp/progmodes/eglot.el (eglot--format-markup): Check for
text-property-search-forward.
lisp/progmodes/eglot.el