Function: erc-generate-log-file-name-short

erc-generate-log-file-name-short is a byte-compiled function defined in erc-log.el.gz.

Signature

(erc-generate-log-file-name-short BUFFER &rest IGNORE)

Documentation

This function computes a short log file name.

In fact, it only uses the buffer name of the BUFFER argument, so you can affect that using rename-buffer and the-like. 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-short (buffer &rest _ignore)
  "This function computes a short log file name.
In fact, it only uses the buffer name of the BUFFER argument, so
you can affect that using `rename-buffer' and the-like.  This
function is a possible value for
`erc-generate-log-file-name-function'."
  (concat (buffer-name buffer) ".txt"))