Function: erc-clear-input-ring

erc-clear-input-ring is an interactive and byte-compiled function defined in erc-ring.el.gz.

Signature

(erc-clear-input-ring)

Documentation

Remove all entries from the input ring, then call garbage-collect.

You might use this for security purposes if you have typed a command containing a password.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-ring.el.gz
(defun erc-clear-input-ring ()
  "Remove all entries from the input ring, then call `garbage-collect'.
You might use this for security purposes if you have typed a command
containing a password."
  (interactive)
  (setq erc-input-ring (make-ring comint-input-ring-size)
        erc-input-ring-index nil)
  (garbage-collect)
  (message "ERC input ring cleared."))