Function: magit--remove-text-properties

magit--remove-text-properties is a natively 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 /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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))