org-html.el: fix docstrings and the pre/postamble inserting.
commit83d1c71bd72185ff32c4f61610f8f2109b09d057
authorBastien Guerry <bzg@altern.org>
Mon, 12 Dec 2011 23:10:00 +0000 (13 00:10 +0100)
committerBastien Guerry <bzg@altern.org>
Mon, 12 Dec 2011 23:10:00 +0000 (13 00:10 +0100)
tree4c31f0388ecccabd37f0ccb292adf8573065e237
parent4fb95b4eb2a048b3557879e54a5e899e9fafa3f9
org-html.el: fix docstrings and the pre/postamble inserting.

* org-html.el (org-export-html-preamble)
(org-export-html-postamble): Fix docstrings.
(org-export-as-html): Insert the string used by a custom
function for `org-export-html-pre/postamble'.

The documentation is now in sync with the behavior: a custom
function for `org-export-html-pre/postamble' takes no argument,
and its value is inserted as a string.  Before that, users had
to use (insert ...) constructs to insert content in the preamble
through a custom function.

Thanks to Bill Jackson for spotting these inconsistencies.
lisp/org-html.el