Function: thing-at-point-for-char-property
thing-at-point-for-char-property is a byte-compiled function defined
in thingatpt.el.gz.
Signature
(thing-at-point-for-char-property PROPERTY)
Documentation
Return the "thing" at point.
Each "thing" is a region of text with the specified text PROPERTY (or overlay) set.
Probably introduced at or before Emacs version 30.1.
Source Code
;; Defined in /usr/src/emacs/lisp/thingatpt.el.gz
;; Provider helper functions
(defun thing-at-point-for-char-property (property)
"Return the \"thing\" at point.
Each \"thing\" is a region of text with the specified text PROPERTY (or
overlay) set."
(or (get-char-property (point) property)
(and (> (point) (point-min))
(get-char-property (1- (point)) property))))