0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-24 20:32:53 +00:00

ox-odt: Throw actual error when export fails

* lisp/ox-odt.el (org-odt--export-wrap): Throw an error rather than a
warning when export fails.
This commit is contained in:
Ihor Radchenko 2023-04-30 19:18:21 +02:00
parent c265d964f9
commit a686c7b609
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B

View file

@ -4097,8 +4097,8 @@ contextual information."
(error
;; Cleanup work directory and work files.
(funcall --cleanup-xml-buffers)
(warn "OpenDocument export failed: %s"
(error-message-string err))))))
(error "OpenDocument export failed: %s"
(error-message-string err))))))
;;;; Export to OpenDocument formula