Function: erc-hide-fools

erc-hide-fools is a byte-compiled function defined in erc-match.el.gz.

Signature

(erc-hide-fools MATCH-TYPE NICKUSERHOST MESSAGE)

Documentation

Hide foolish comments.

This function should be called from erc-text-matched-hook.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-match.el.gz
(defun erc-hide-fools (match-type _nickuserhost _message)
 "Hide foolish comments.
This function should be called from `erc-text-matched-hook'."
 (when (eq match-type 'fool)
   (erc-put-text-properties (point-min) (point-max)
			    '(invisible intangible)
			    (current-buffer))))