Function: erc-toggle-interpret-controls

erc-toggle-interpret-controls is an interactive and byte-compiled function defined in erc-goodies.el.gz.

Signature

(erc-toggle-interpret-controls &optional ARG)

Documentation

Toggle interpretation of control sequences in messages.

If ARG is positive, interpretation is turned on. Else interpretation is turned off.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-goodies.el.gz
(defun erc-toggle-interpret-controls (&optional arg)
  "Toggle interpretation of control sequences in messages.

If ARG is positive, interpretation is turned on.
Else interpretation is turned off."
  (interactive "P")
  (cond ((and (numberp arg) (> arg 0))
         (setq erc-interpret-controls-p t))
        (arg (setq erc-interpret-controls-p nil))
        (t (setq erc-interpret-controls-p (not erc-interpret-controls-p))))
  (message "ERC color interpretation %s"
           (if erc-interpret-controls-p "ON" "OFF")))