Function: erc-string-no-properties

erc-string-no-properties is a byte-compiled function defined in erc.el.gz.

Signature

(erc-string-no-properties STRING)

Documentation

Return a copy of STRING will all text-properties removed.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-string-no-properties (string)
  "Return a copy of STRING will all text-properties removed."
  (let ((newstring (copy-sequence string)))
    (set-text-properties 0 (length newstring) nil newstring)
    newstring))