Function: erc-log-disable-logging
erc-log-disable-logging is a byte-compiled function defined in
erc-log.el.gz.
Signature
(erc-log-disable-logging BUFFER)
Documentation
Disable logging in BUFFER.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-log.el.gz
(defun erc-log-disable-logging (buffer)
"Disable logging in BUFFER."
(when (erc-logging-enabled buffer)
(with-current-buffer buffer
(remove-function (local 'erc--clear-function) #'erc-log--save-on-clear)
(setq buffer-offer-save nil
erc-enable-logging nil))))