Function: erc--refresh-prompt-continue

erc--refresh-prompt-continue is a byte-compiled function defined in erc.el.gz.

Signature

(erc--refresh-prompt-continue &optional HOOKS-ONLY-P)

Documentation

Ask ERC to refresh the prompt in all buffers.

Functions assigned to erc-prompt(var)/erc-prompt(fun) can call this if needing to recreate the prompt in other buffers as well. With HOOKS-ONLY-P, run erc--refresh-prompt-hook in other buffers instead of doing a full refresh.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc--refresh-prompt-continue (&optional hooks-only-p)
  "Ask ERC to refresh the prompt in all buffers.
Functions assigned to `erc-prompt' can call this if needing to
recreate the prompt in other buffers as well.  With HOOKS-ONLY-P,
run `erc--refresh-prompt-hook' in other buffers instead of doing
a full refresh."
  (when (and erc--refresh-prompt-continue-request
             (zerop erc--refresh-prompt-continue-request))
    (setq erc--refresh-prompt-continue-request (if hooks-only-p 1 2))))