Function: erc-highlight-notice

erc-highlight-notice is a byte-compiled function defined in erc.el.gz.

Signature

(erc-highlight-notice S)

Documentation

Highlight notice message S and return it.

See also variable erc-notice-highlight-type.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-highlight-notice (s)
  "Highlight notice message S and return it.
See also variable `erc-notice-highlight-type'."
  (cond
   ((eq erc-notice-highlight-type 'prefix)
    (erc-put-text-property 0 (length erc-notice-prefix)
                           'font-lock-face 'erc-notice-face s)
    s)
   ((eq erc-notice-highlight-type 'all)
    (erc-put-text-property 0 (length s) 'font-lock-face 'erc-notice-face s)
    s)
   (t s)))