org-odt.el: Provide for non-availability of `org-version'
* lisp/org-odt.el (org-odt-update-meta-file): Check for `org-version' is bound before accessing it.
This commit is contained in:
parent
a178bc9d84
commit
4908ea99ed
|
@ -2383,7 +2383,9 @@ visually."
|
||||||
(org-odt-format-tags '("\n<meta:generator>" . "</meta:generator>")
|
(org-odt-format-tags '("\n<meta:generator>" . "</meta:generator>")
|
||||||
(when org-export-creator-info
|
(when org-export-creator-info
|
||||||
(format "Org-%s/Emacs-%s"
|
(format "Org-%s/Emacs-%s"
|
||||||
org-version emacs-version)))
|
(if (boundp 'org-version) org-version
|
||||||
|
"Unknown")
|
||||||
|
emacs-version)))
|
||||||
(org-odt-format-tags '("\n<meta:keyword>" . "</meta:keyword>") keywords)
|
(org-odt-format-tags '("\n<meta:keyword>" . "</meta:keyword>") keywords)
|
||||||
(org-odt-format-tags '("\n<dc:subject>" . "</dc:subject>") description)
|
(org-odt-format-tags '("\n<dc:subject>" . "</dc:subject>") description)
|
||||||
(org-odt-format-tags '("\n<dc:title>" . "</dc:title>") title)
|
(org-odt-format-tags '("\n<dc:title>" . "</dc:title>") title)
|
||||||
|
|
Loading…
Reference in New Issue