aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/erc
diff options
context:
space:
mode:
authorStefan Kangas2024-11-01 23:56:12 +0100
committerStefan Kangas2024-11-01 23:56:12 +0100
commit4df832750c811abc5ccbe7bfcefe1ad8f144af8e (patch)
tree8c69b58b4742d872364a5fb61aaf41510955aede /lisp/erc
parent471716c67d0d00a2e90dd7dfbc2bb88820a248a2 (diff)
downloademacs-4df832750c811abc5ccbe7bfcefe1ad8f144af8e.tar.gz
emacs-4df832750c811abc5ccbe7bfcefe1ad8f144af8e.zip
Don't start docstrings with "This function"
* lisp/calculator.el (calculator-add-operators): * lisp/erc/erc-log.el (erc-generate-log-file-name-with-date) (erc-generate-log-file-name-short): * lisp/eshell/esh-mode.el (eshell-begin-on-new-line): * lisp/progmodes/hideif.el (hif-merge-ifdef-region): * lisp/tab-bar.el (tab-bar--event-to-item): * lisp/textmodes/artist.el (artist-no-rb-unset-point2) (artist-no-rb-unset-points): * lisp/which-key.el (which-key--hide-popup): Don't start function docstrings with "This function".
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