Erase buffer for txt export.

This commit is contained in:
Carsten Dominik 2008-09-02 13:46:07 +02:00
parent 19b5215b81
commit 339e5fb010
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-09-02 Carsten Dominik <dominik@science.uva.nl>
* org-agenda.el (org-write-agenda): Erase buffer for txt export.
2008-09-01 Carsten Dominik <dominik@science.uva.nl>
* org-exp.el (org-html-do-expand): Allow {} to terminate

View File

@ -1879,6 +1879,7 @@ higher priority settings."
(t
(let ((bs (buffer-string)))
(find-file file)
(erase-buffer)
(insert bs)
(save-buffer 0)
(kill-buffer (current-buffer))