Function: erc-echo-notice-in-active-non-server-buffer
erc-echo-notice-in-active-non-server-buffer is a byte-compiled
function defined in erc.el.gz.
Signature
(erc-echo-notice-in-active-non-server-buffer S PARSED BUFFER SENDER)
Documentation
Echo a private notice in the active buffer if the active
buffer is not the server buffer. This function is designed to be
added to either erc-echo-notice-hook or
erc-echo-notice-always-hook, and returns non-nil if the active
buffer is not the server buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-echo-notice-in-active-non-server-buffer (s parsed _buffer _sender)
"Echo a private notice in the active buffer if the active
buffer is not the server buffer. This function is designed to be
added to either `erc-echo-notice-hook' or
`erc-echo-notice-always-hook', and returns non-nil if the active
buffer is not the server buffer."
(if (not (eq (erc-server-buffer) (erc-active-buffer)))
(progn (erc-display-message parsed nil 'active s) t)
nil))