Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode

This commit is contained in:
Carsten Dominik 2008-02-29 22:31:01 +01:00
commit 323747e9f8
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2008-02-29 Bastien Guerry <bzg@altern.org>
* org.el (org-export-as-html): Kill buffer after
export when `to-buffer' is nil.
* org-export-latex.el (org-export-as-latex): Kill buffer after
export when `to-buffer' is nil.
2008-02-29 Carsten Dominik <dominik@science.uva.nl>
* org.el (org-agenda-text-search-extra-files): Renamed from

View File

@ -455,7 +455,7 @@ without even the \begin{document} and \end{document} commands."
;; finalization
(unless body-only (insert "\n\\end{document}"))
(or to-buffer (save-buffer))
(or to-buffer (progn (save-buffer) (kill-buffer (current-buffer))))
(goto-char (point-min))
(message "Exporting to LaTeX...done")
(prog1

2
org.el
View File

@ -25891,7 +25891,7 @@ lang=\"%s\" xml:lang=\"%s\">
(insert (format "<span style=\"visibility:hidden;\">%s</span>"
(make-string n ?x)))))
(or to-buffer (save-buffer))
(or to-buffer (progn (save-buffer) (kill-buffer (current-buffer))))
(goto-char (point-min))
(message "Exporting... done")
(if (eq to-buffer 'string)