Function: erc-input-ring-setup

erc-input-ring-setup is a byte-compiled function defined in erc-ring.el.gz.

Signature

(erc-input-ring-setup)

Documentation

Do the setup required so that we can use comint style input rings.

Call this function when setting up the mode.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-ring.el.gz
(defun erc-input-ring-setup ()
  "Do the setup required so that we can use comint style input rings.
Call this function when setting up the mode."
  (unless (ring-p erc-input-ring)
    (setq erc-input-ring (make-ring comint-input-ring-size)))
  (setq erc-input-ring-index nil))