diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 73d381d5a..e459d595d 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2009-03-07 Carsten Dominik + + * org-exp.el (org-export-html-style-include-scripts): New option. + (org-export-plist-vars): Add new option + `org-export-html-style-include-scripts'. + (org-export-as-html): Honor new option + `org-export-html-style-include-scripts'. + 2009-03-06 Carsten Dominik * org-publish.el (org-publish-attachment): Only copy file when the diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 8abfae10d..c21755a2e 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -535,6 +535,13 @@ in this way, it will be wrapped." :group 'org-export-html :type '(string :tag "File or URL")) +(defcustom org-export-html-style-include-scripts t + "Non-nil means, include the javascript snippets in exported HTML files. +The actual script is defined in `org-export-html-scripts' and should +not be modified." + :group 'org-export-html + :type 'boolean) + (defconst org-export-html-scripts "