diff options
author | Charles Celerier <chckyn@gmail.com> | 2018-07-28 17:09:16 -0400 |
---|---|---|
committer | Bastien <bzg@gnu.org> | 2018-08-05 08:02:00 +0200 |
commit | 30498ef932bc35c26e3e58278f4987a67480b446 (patch) | |
tree | 67e2bd028910a2d4567afe4416e26af8557aa15d | |
parent | 89859f2bded84f427cdfe839348fbab98211515a (diff) |
ox-odt: Fix `org-odt-template' styles file retrievalrelease_9.1.14
* lisp/ox-odt.el (org-odt-template): Fix `org-odt-template' styles
file retrieval.
TINYCHANGE
Signed-off-by: Charles Celerier <chckyn@gmail.com>
-rw-r--r-- | lisp/ox-odt.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el index a1145a982..74d811d28 100644 --- a/lisp/ox-odt.el +++ b/lisp/ox-odt.el @@ -1359,11 +1359,10 @@ original parsed data. INFO is a plist holding export options." ;; Write styles file. (let* ((styles-file (plist-get info :odt-styles-file)) (styles-file (and (org-string-nw-p styles-file) - (read (org-trim styles-file)))) + (org-trim styles-file))) ;; Non-availability of styles.xml is not a critical ;; error. For now, throw an error. (styles-file (or styles-file - (plist-get info :odt-styles-file) (expand-file-name "OrgOdtStyles.xml" org-odt-styles-dir) (error "org-odt: Missing styles file?")))) |