Function: erc-match--on-insert-post

erc-match--on-insert-post is a byte-compiled function defined in erc-match.el.gz.

Signature

(erc-match--on-insert-post)

Documentation

Hide messages marked with the erc--invisible prop.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-match.el.gz
;; FIXME remove, make public, or only add locally.
;;
;; ERC modules typically don't add internal functions to public hooks
;; globally.  However, ERC 5.6 will likely include a general
;; (internal) facility for adding invisible props, which will obviate
;; the need for this function.  IOW, leaving this internal for now is
;; an attempt to avoid the hassle of the deprecation process.
(defun erc-match--on-insert-post ()
  "Hide messages marked with the `erc--invisible' prop."
  (when (erc--check-msg-prop 'erc--invisible 'erc-match-fool)
    (remhash 'erc--invisible erc--msg-props)
    (erc--hide-message 'match-fools)))