diff options
author | Bastien Guerry <bzg@altern.org> | 2013-10-14 10:05:30 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-10-14 10:05:30 +0200 |
commit | c1ea2c3df94949d346eabc386daaff298a52cf69 (patch) | |
tree | 8f04f975e7d02d5e00b19b70b881ee7dcbe67889 | |
parent | 838cf55bcd96d730fefa61d79a3d41de7bc90b41 (diff) | |
download | org-mode-c1ea2c3df94949d346eabc386daaff298a52cf69.tar.gz |
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.
-rw-r--r-- | lisp/ox-org.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/ox-org.el b/lisp/ox-org.el index 644cc0d..022474a 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 |