Function: erc-generate-log-file-name-with-date
erc-generate-log-file-name-with-date is a byte-compiled function
defined in erc-log.el.gz.
Signature
(erc-generate-log-file-name-with-date BUFFER &rest IGNORE)
Documentation
This function computes a short log file name.
The name of the log file is composed of BUFFER and the current date.
This function is a possible value for erc-generate-log-file-name-function.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-log.el.gz
(defun erc-generate-log-file-name-with-date (buffer &rest _ignore)
"This function computes a short log file name.
The name of the log file is composed of BUFFER and the current date.
This function is a possible value for `erc-generate-log-file-name-function'."
(concat (buffer-name buffer) "-" (format-time-string "%Y-%m-%d") ".txt"))