Make (org-version) always returns a string, use it in exporters.
commit6732d633af89737086e5b19f0c9e33bc1fbf0b6f
authorBastien Guerry <bzg@altern.org>
Sun, 29 Apr 2012 10:17:00 +0000 (29 12:17 +0200)
committerBastien Guerry <bzg@altern.org>
Sun, 29 Apr 2012 10:17:00 +0000 (29 12:17 +0200)
treebf3ac9469f45261403b50527650f472878b96a2c
parentd6e56bce71ecbab29b1200945cffc492997c0a29
Make (org-version) always returns a string, use it in exporters.

* org.el (org-version): When called non-interactively, insert
the short version string, otherwise send a message with the
complete version string.

* org-odt.el (org-odt-update-meta-file): Use (org-version) and
delegate checking whether `org-version' is known as a variable
there.

* org-html.el (org-export-as-html): Use (org-version).

* org-docbook.el (org-export-as-docbook): Ditto.

* org-latex.el (org-export-latex-make-header): Ditto.
lisp/org-docbook.el
lisp/org-html.el
lisp/org-latex.el
lisp/org-odt.el
lisp/org.el