emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH v1.1] ox-s5: update to work with refactored html backedn
@ 2017-05-04 15:39 Łukasz Stelmach
  0 siblings, 0 replies; only message in thread
From: Łukasz Stelmach @ 2017-05-04 15:39 UTC (permalink / raw)
  To: emacs-orgmode


* contrib/lisp/ox-s5.el: adapt to changes introduced by c9ca0b6d in the
way :html-divs/org-html-divs are passed to ox-html
---
Now it should be ready.

 contrib/lisp/ox-s5.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/contrib/lisp/ox-s5.el b/contrib/lisp/ox-s5.el
index 503bfd0..7a717fe 100644
--- a/contrib/lisp/ox-s5.el
+++ b/contrib/lisp/ox-s5.el
@@ -304,13 +304,13 @@ holding export options."
   "Return complete document string after HTML conversion.
 CONTENTS is the transcoded contents string.  INFO is a plist
 holding export options."
-  (let ((org-html-divs
-	 (if (equal (plist-get info :html-container) "li")
-	     (append '((content "ol" "content")) org-s5--divs)
-	   org-s5--divs))
-	 (info (plist-put
+  (let ((info (plist-put
+	       (plist-put
 		(plist-put info :html-preamble (plist-get info :s5-preamble))
-		:html-postamble (plist-get info :s5-postamble))))
+		:html-postamble (plist-get info :s5-postamble))
+	       :html-divs (if (equal (plist-get info :html-container) "li")
+			      (append '((content "ol" "content")) org-s5--divs)
+			    org-s5--divs))))
     (mapconcat
      'identity
      (list
-- 
2.1.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-05 11:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-04 15:39 [PATCH v1.1] ox-s5: update to work with refactored html backedn Łukasz Stelmach

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).