org-odt.el: Fix previous commit
* lisp/org-odt.el (org-odt-init-outfile): Fix previous commit. Make sure that nxml-mode is loaded before let-binding `nxml-auto-insert-xml-declaration-flag'.
This commit is contained in:
parent
60587ea91c
commit
35b9556cc3
|
@ -2211,9 +2211,9 @@ captions on export.")
|
|||
(content-file (expand-file-name "content.xml" outdir)))
|
||||
|
||||
;; init conten.xml
|
||||
(with-current-buffer
|
||||
(let ((nxml-auto-insert-xml-declaration-flag nil))
|
||||
(find-file-noselect content-file t)))
|
||||
(require 'nxml-mode)
|
||||
(let ((nxml-auto-insert-xml-declaration-flag nil))
|
||||
(find-file-noselect content-file t))
|
||||
|
||||
;; reset variables
|
||||
(setq org-odt-manifest-file-entries nil
|
||||
|
|
Loading…
Reference in New Issue