org-e-html.el: Fix XML declaration.

Also add autoload cookie and a require.
This commit is contained in:
Jambunathan K 2012-05-31 00:00:56 +05:30
parent ce960654fe
commit 11ef636f55

View file

@ -35,6 +35,7 @@
;;; org-e-html.el
;;; Dependencies
(require 'org-export)
(require 'format-spec)
(eval-when-compile (require 'cl) (require 'table))
@ -1698,9 +1699,9 @@ original parsed data. INFO is a plist holding export options."
(cdr (assoc "html" org-e-html-xml-declaration))
"")
(or (and coding-system-for-write
(or (and org-e-html-coding-system
(fboundp 'coding-system-get)
(coding-system-get coding-system-for-write
(coding-system-get org-e-html-coding-system
'mime-charset))
"iso-8859-1"))
"
@ -3097,6 +3098,7 @@ contextual information."
;;; Interactive functions
;;;###autoload
(defun org-e-html-export-to-html
(&optional subtreep visible-only body-only ext-plist pub-dir)
"Export current buffer to a HTML file.