Function: erc-log--check-legacy-implicit-enabling-by-truncate

erc-log--check-legacy-implicit-enabling-by-truncate is a byte-compiled function defined in erc-log.el.gz.

Signature

(erc-log--check-legacy-implicit-enabling-by-truncate)

Documentation

Return non-nil when conditions for legacy "implicit" activation are met.

This only concerns the \+truncate module.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-log.el.gz
;; This exists to avoid littering erc-truncate.el with forward
;; declarations needed only for a compatibility check.
(defun erc-log--check-legacy-implicit-enabling-by-truncate ()
  "Return non-nil when conditions for legacy \"implicit\" activation are met.
This only concerns the \\+`truncate' module."
  (and (not (or erc-log-mode (memq 'log erc-modules)))
       (let ((erc-log--check-writable-nocreate-p t))
         (erc-logging-enabled))))