Fix minor bug with call to kill-buffer

This commit is contained in:
Carsten Dominik 2010-04-18 16:54:19 +02:00
parent 84f72287cc
commit 3672a495e1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-04-18 Carsten Dominik <carsten.dominik@gmail.com>
* org-html.el (org-export-as-html-and-open): Add argument to
kill-buffer.
2010-04-16 Carsten Dominik <carsten.dominik@gmail.com>
* org-exp.el (org-export-define-heading-targets): Fix bug in

View File

@ -455,7 +455,7 @@ headlines. The default is 3. Lower levels will become bulleted lists."
(org-export-as-html arg 'hidden)
(org-open-file buffer-file-name)
(when org-export-kill-product-buffer-when-displayed
(kill-buffer)))
(kill-buffer (current-buffer))))
;;;###autoload
(defun org-export-as-html-batch ()