Refactor fetching html doctype from alist into function so it can be reused in inheri...
commit9d22167c68d6ff7cfedc4b5aa7d538deee515df2
authorRick Frankel <rick@rickster.com>
Wed, 29 May 2013 13:53:51 +0000 (29 09:53 -0400)
committerRick Frankel <rick@rickster.com>
Wed, 29 May 2013 19:23:04 +0000 (29 15:23 -0400)
tree5ee7fcf3dd14679acdd46e428bd2bd9754dd916d
parent60ca9e782b111bb9ade949141aa6cce11a1dde87
Refactor fetching html doctype from alist into function so it can be reused in inherited exporters.

* lisp/ox-html.el (org-html-doctype): Add new function `org-html-doctype'.
(org-html-template): Use `org-html-doctype' function instead of inline
code.

* contrib/lisp/ox-deck.el (org-deck-template): Use `org-html-doctype'
  function instead of inline code.

* contrib/lisp/ox-s5.el (org-s5-template): Use `org-html-doctype'
  function instead of inline code.
contrib/lisp/ox-deck.el
contrib/lisp/ox-s5.el
lisp/ox-html.el