Function: erc-truncate--warn-about-logging

erc-truncate--warn-about-logging is a byte-compiled function defined in erc-truncate.el.gz.

Signature

(erc-truncate--warn-about-logging &rest _)

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-truncate.el.gz
(defun erc-truncate--warn-about-logging (&rest _)
  (when (and (not erc--target)
             (fboundp 'erc-log--check-legacy-implicit-enabling-by-truncate)
             (erc-log--check-legacy-implicit-enabling-by-truncate))
    ;; Emit a real Emacs warning because the message may be
    ;; truncated away before it can be read if merely inserted.
    (let ((erc--warn-once-before-connect-function
           #'erc-button--display-error-notice-with-keys-and-warn))
      (erc--warn-once-before-connect 'erc-truncate-mode
        "The `truncate' module no longer enables logging implicitly."
        " See the doc string for `erc-truncate-mode' for details."))))