From a87629f416f9a06099f6ce78aeeffb9a4233e5c1 Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: Ihor Radchenko Date: Wed, 2 Nov 2022 12:28:52 +0800 Subject: [PATCH 3/3] org-html-postamble: Clarify that string value is format string * lisp/ox-html.el (org-html-postamble): Clarify that string value of the variable is not inserted verbatim, but used as format string. Reported-by: Tim Cross Link: https://orgmode.org/list/86wn8gbvk0.fsf@gmail.com --- lisp/ox-html.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 36fcd536c..81f192d46 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -1276,9 +1276,11 @@ (defcustom org-html-postamble 'auto When set to `auto', check against the `org-export-with-author/email/creator/date' variables to set the -content of the postamble. When set to a string, use this string -as the postamble. When t, insert a string as defined by the -formatting string in `org-html-postamble-format'. +content of the postamble. When t, insert a string as defined by the +formatting string in `org-html-postamble-format'. When set to a +string, use this formatting string instead (see +`org-html-postamble-format' for an example of such a formatting +string). When set to a function, apply this function and insert the returned string. The function takes the property list of export -- 2.35.1