Function: remove-display-text-property

remove-display-text-property is an autoloaded and byte-compiled function defined in subr-x.el.gz.

Signature

(remove-display-text-property START END SPEC &optional OBJECT)

Documentation

Remove the display specification SPEC from the text from START to END.

SPEC is the car of the display specification to remove, e.g. height. If any text in the region has other display specifications, those specs are retained.

OBJECT is either a string or a buffer to remove the specification from. If omitted, OBJECT defaults to the current buffer.

View in manual

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/subr-x.el.gz
;;;###autoload
(defun remove-display-text-property (start end spec &optional object)
  "Remove the display specification SPEC from the text from START to END.
SPEC is the car of the display specification to remove, e.g. `height'.
If any text in the region has other display specifications, those specs
are retained.

OBJECT is either a string or a buffer to remove the specification from.
If omitted, OBJECT defaults to the current buffer."
  (add-remove--display-text-property start end spec nil object 'remove))