org-e-odt.el: Port fix for Bug#13197

This commit is contained in:
Jambunathan K 2012-12-16 11:03:00 +05:30 committed by Bastien Guerry
parent 4876e94fee
commit 847e92377e
1 changed files with 3 additions and 2 deletions

View File

@ -3893,8 +3893,9 @@ contextual information."
(let ((buf (find-buffer-visiting
(concat org-e-odt-zip-dir file))))
(when buf
(set-buffer-modified-p nil)
(kill-buffer buf))))
(with-current-buffer buf
(set-buffer-modified-p nil)
(kill-buffer buf)))))
org-e-odt-xml-files)
;; Delete temporary directory and also other embedded
;; files that get copied there.