Function: erc-with-all-buffers-of-server
erc-with-all-buffers-of-server is a macro defined in erc-common.el.gz.
Signature
(erc-with-all-buffers-of-server PROCESS PRED &rest FORMS)
Documentation
Evaluate FORMS in all buffers of PROCESS in which PRED returns non-nil.
When PROCESS is nil, do so in all ERC buffers. When PRED is nil, run FORMS unconditionally.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-common.el.gz
(defmacro erc-with-all-buffers-of-server (process pred &rest forms)
"Evaluate FORMS in all buffers of PROCESS in which PRED returns non-nil.
When PROCESS is nil, do so in all ERC buffers. When PRED is nil,
run FORMS unconditionally."
(declare (indent 2) (debug (form form body)))
(macroexp-let2 nil pred pred
`(erc-buffer-filter (lambda ()
(when (or (not ,pred) (funcall ,pred))
,@forms))
,process)))