Function: erc-command-indicator

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

Signature

(erc-command-indicator)

Documentation

Return the command indicator prompt as a string.

This only has any meaning if the variable erc-command-indicator(var)/erc-command-indicator(fun) is non-nil.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-command-indicator ()
  "Return the command indicator prompt as a string.

This only has any meaning if the variable `erc-command-indicator' is non-nil."
  (and erc-command-indicator
       (let ((prompt (if (functionp erc-command-indicator)
                         (funcall erc-command-indicator)
                       erc-command-indicator)))
         (if (> (length prompt) 0)
             (concat prompt " ")
           prompt))))