From c1ea2c3df94949d346eabc386daaff298a52cf69 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Mon, 14 Oct 2013 10:05:30 +0200 Subject: [PATCH] ox-org.el: Show all headings and all blocks before fontifying when htmlizing sources * ox-org.el (org-org-publish-to-org): When htmlizing an .org file, ensure to show all headings and all blocks before fontifying. --- lisp/ox-org.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/ox-org.el b/lisp/ox-org.el index 644cc0dfb..022474a82 100644 --- a/lisp/ox-org.el +++ b/lisp/ox-org.el @@ -226,6 +226,8 @@ Return output file name." (work-buffer (or visitingp (find-file filename))) newbuf) (font-lock-fontify-buffer) + (show-all) + (org-show-block-all) (setq newbuf (htmlize-buffer)) (with-current-buffer newbuf (when org-org-htmlized-css-url -- 2.11.4.GIT