Function: erc-restore-text-properties
erc-restore-text-properties is a byte-compiled function defined in
erc.el.gz.
Signature
(erc-restore-text-properties)
Documentation
Ensure the erc-parsed and tags props cover the entire message.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-restore-text-properties ()
"Ensure the `erc-parsed' and `tags' props cover the entire message."
(when-let ((parsed-posn (erc-find-parsed-property))
(found (erc-get-parsed-vector parsed-posn)))
(put-text-property (point-min) (point-max) 'erc-parsed found)
(when-let ((tags (get-text-property parsed-posn 'tags)))
(put-text-property (point-min) (point-max) 'tags tags))))