lisp/ox-publish.el (org-publish-timestamp-filename): Document function arguments
This commit is contained in:
parent
4758255035
commit
819cd73cb4
|
@ -358,7 +358,9 @@ You can overwrite this default per project in your
|
||||||
;;; Timestamp-related functions
|
;;; Timestamp-related functions
|
||||||
|
|
||||||
(defun org-publish-timestamp-filename (filename &optional pub-dir pub-func)
|
(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 "") "::"
|
(setq filename (concat filename "::" (or pub-dir "") "::"
|
||||||
(format "%s" (or pub-func ""))))
|
(format "%s" (or pub-func ""))))
|
||||||
(concat "X" (if (fboundp 'sha1) (sha1 filename) (md5 filename))))
|
(concat "X" (if (fboundp 'sha1) (sha1 filename) (md5 filename))))
|
||||||
|
|
Loading…
Reference in New Issue