Function: erc--command-indicator-permit-insertion

erc--command-indicator-permit-insertion is a byte-compiled function defined in erc-goodies.el.gz.

Signature

(erc--command-indicator-permit-insertion STATE)

Documentation

Insert erc-input STATE's message if it's an echoed command.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-goodies.el.gz
(defun erc--command-indicator-permit-insertion (state)
  "Insert `erc-input' STATE's message if it's an echoed command."
  (cl-assert erc-command-indicator-mode)
  (when (erc--input-split-cmdp state)
    (setf (erc--input-split-insertp state) t
          (erc--input-split-substxt state) #'erc--command-indicator-display)
    (erc-send-distinguish-noncommands state)))