aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/erc
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/erc')
-rw-r--r--lisp/erc/erc-log.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/erc/erc-log.el b/lisp/erc/erc-log.el
index 8311359ed09..a1102ebdcdf 100644
--- a/lisp/erc/erc-log.el
+++ b/lisp/erc/erc-log.el
@@ -360,13 +360,13 @@ The result is converted to lowercase, as IRC is case-insensitive."
360 erc-log-channels-directory))))) 360 erc-log-channels-directory)))))
361 361
362(defun erc-generate-log-file-name-with-date (buffer &rest _ignore) 362(defun erc-generate-log-file-name-with-date (buffer &rest _ignore)
363 "This function computes a short log file name. 363 "Compute a short log file name with the current date.
364The name of the log file is composed of BUFFER and the current date. 364The name of the log file is composed of BUFFER and the current date.
365This function is a possible value for `erc-generate-log-file-name-function'." 365This function is a possible value for `erc-generate-log-file-name-function'."
366 (concat (buffer-name buffer) "-" (format-time-string "%Y-%m-%d") ".txt")) 366 (concat (buffer-name buffer) "-" (format-time-string "%Y-%m-%d") ".txt"))
367 367
368(defun erc-generate-log-file-name-short (buffer &rest _ignore) 368(defun erc-generate-log-file-name-short (buffer &rest _ignore)
369 "This function computes a short log file name. 369 "Compute a short log file name.
370In fact, it only uses the buffer name of the BUFFER argument, so 370In fact, it only uses the buffer name of the BUFFER argument, so
371you can affect that using `rename-buffer' and the-like. This 371you can affect that using `rename-buffer' and the-like. This
372function is a possible value for 372function is a possible value for