Function: add-display-text-property
add-display-text-property is an autoloaded and byte-compiled function
defined in subr-x.el.gz.
Signature
(add-display-text-property START END SPEC VALUE &optional OBJECT)
Documentation
Add the display specification (SPEC VALUE) to the text from START to END.
If any text in the region has a non-nil display property, the existing
display specifications are retained.
OBJECT is either a string or a buffer to add the specification to. If omitted, OBJECT defaults to the current buffer.
Probably introduced at or before Emacs version 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/subr-x.el.gz
;;;###autoload
(defun add-display-text-property (start end spec value &optional object)
"Add the display specification (SPEC VALUE) to the text from START to END.
If any text in the region has a non-nil `display' property, the existing
display specifications are retained.
OBJECT is either a string or a buffer to add the specification to.
If omitted, OBJECT defaults to the current buffer."
(add-remove--display-text-property start end spec value object))