emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 84b4878680 2/4: ox-html: Do not allow `org-html-pre


From: ELPA Syncer
Subject: [elpa] externals/org 84b4878680 2/4: ox-html: Do not allow `org-html-preamble' to be 'auto
Date: Tue, 15 Nov 2022 23:57:59 -0500 (EST)

branch: externals/org
commit 84b4878680cbceadcc7589545d48bfe454882528
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    ox-html: Do not allow `org-html-preamble' to be 'auto
    
    * lisp/ox-html.el (org-html--build-pre/postamble): Avoid building
    date/author/email info line when `org-html-preamble' is set to
    'auto.  This is only meaningful in `org-html-postamble'.
---
 lisp/ox-html.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index c34711d1e1..203144e15d 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -1994,7 +1994,7 @@ communication channel."
             (if (functionp section) (funcall section info)
               (cond
                ((stringp section) (format-spec section spec))
-               ((eq section 'auto)
+               ((and (eq section 'auto) (eq type 'postamble))
                 (let ((date (cdr (assq ?d spec)))
                       (author (cdr (assq ?a spec)))
                       (email (cdr (assq ?e spec)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]