Variable: erc-log-insert-log-on-open

erc-log-insert-log-on-open is a customizable variable defined in erc-log.el.gz.

Value

nil

Documentation

Insert an existing log file's contents into its associated buffer.

A legacy value of t does so upon connecting and reconnecting in all buffers, often in an overlapping and redundant fashion. A value of erc-log-new-target-buffer-p does so in new target buffers only. If set to an arbitrary predicate, ERC calls it with no args in the associated buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-log.el.gz
(defcustom erc-log-insert-log-on-open nil
  "Insert an existing log file's contents into its associated buffer.
A legacy value of t does so upon connecting and reconnecting in all
buffers, often in an overlapping and redundant fashion.  A value of
`erc-log-new-target-buffer-p' does so in new target buffers only.  If
set to an arbitrary predicate, ERC calls it with no args in the
associated buffer."
  :type '(choice boolean
                 (function-item :tag "Only new target buffers"
                                erc-log-new-target-buffer-p)
                 (function "User-defined predicate taking no args")))