Function: magit--remove-text-properties

magit--remove-text-properties is a byte-compiled function defined in magit-base.el.

Signature

(magit--remove-text-properties STRING &optional PROPS)

Documentation

Return a copy of STRING with text properties PROPS removed.

If PROPS is nil, remove all properties.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-base.el
(defun magit--remove-text-properties (string &optional props)
  "Return a copy of STRING with text properties PROPS removed.
If PROPS is nil, remove all properties."
  (magit--delete-text-properties (copy-sequence string) props))