diff options
author | Rick Frankel <rick@rickster.com> | 2014-01-16 13:41:23 -0500 |
---|---|---|
committer | Rick Frankel <rick@rickster.com> | 2014-01-16 17:35:39 -0500 |
commit | 1376df264888a3bd3afa645e1bb5e01ed2b82404 (patch) | |
tree | d360fbcd42ea18b2c6ea245aff72056b45178fee | |
parent | 480c47fa09bd80a885983666eeb2b62cfae952ea (diff) | |
download | org-mode-1376df264888a3bd3afa645e1bb5e01ed2b82404.tar.gz |
Use an overridable list of available doctypes for customization.
* lisp/ox-html.el (org-html-doctype): Use choice of available
doctypes (from `org-html-doctype-alist) plus user-entered string.
-rw-r--r-- | lisp/ox-html.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 169da3d..a01d913 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -923,7 +923,10 @@ publishing, with :html-doctype." :group 'org-export-html :version "24.4" :package-version '(Org . "8.0") - :type 'string) + :type (append + '(choice) + (mapcar (lambda (x) `(const ,(car x))) org-html-doctype-alist) + '((string :tag "Custom doctype" )))) (defcustom org-html-html5-fancy nil "Non-nil means using new HTML5 elements. |