]> git.eshelyaron.com Git - emacs.git/commit
Support text overlays for thingatpt provider helpers
authorJim Porter <jporterbugs@gmail.com>
Mon, 20 May 2024 19:45:13 +0000 (12:45 -0700)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 May 2024 08:28:59 +0000 (10:28 +0200)
commit1a1b32a96efa72f538a0c573835e77aa2d00cfa7
tree05b260aa65012822376c7378a842f78aecac68f8
parente7d67179dc979d09aadf514969817ae719f9ea26
Support text overlays for thingatpt provider helpers

* lisp/thingatpt.el (thing-at-point-for-text-property)
(forward-thing-for-text-property)
(bounds-of-thing-at-point-for-text-property): Rename to...
(thing-at-point-for-char-property)
(forward-thing-for-char-property)
(bounds-of-thing-at-point-for-char-property): ... and add overlay
support.  Update callers.

* test/lisp/thingatpt-tests.el (thing-at-point-providers)
(forward-thing-providers, bounds-of-thing-at-point-providers): Test
overlays too.

* test/lisp/progmodes/bug-reference-tests.el (test-thing-at-point): Test
'bounds-of-thing-at-point' and 'forward-point'.

* etc/NEWS: Update function names in announcement.

(cherry picked from commit 77ece5709a1d38df8cec33432e77044c308b1d6b)
etc/NEWS
lisp/net/eww.el
lisp/progmodes/bug-reference.el
lisp/thingatpt.el
test/lisp/progmodes/bug-reference-tests.el
test/lisp/thingatpt-tests.el