From 819cd73cb4caaa407dfa88fa89dcd60096c2d41d Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Wed, 15 Nov 2023 11:20:33 +0200 Subject: [PATCH] lisp/ox-publish.el (org-publish-timestamp-filename): Document function arguments --- lisp/ox-publish.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ox-publish.el b/lisp/ox-publish.el index 1e88667ac..ceada6345 100644 --- a/lisp/ox-publish.el +++ b/lisp/ox-publish.el @@ -358,7 +358,9 @@ You can overwrite this default per project in your ;;; Timestamp-related functions (defun org-publish-timestamp-filename (filename &optional pub-dir pub-func) - "Return path to timestamp file for filename FILENAME." + "Return path to timestamp file for filename FILENAME. +The timestamp file name is constructed using FILENAME, publishing +directory PUB-DIR, and PUB-FUNC publishing function." (setq filename (concat filename "::" (or pub-dir "") "::" (format "%s" (or pub-func "")))) (concat "X" (if (fboundp 'sha1) (sha1 filename) (md5 filename))))