ob: Wipe error buffer before executing buffer/subtree

* lisp/ob.el (org-babel-execute-buffer): Wipe error buffer at outset
of executing buffer (note that this handles execute subtree also).
This commit is contained in:
Dan Davison 2010-12-21 11:06:04 +00:00
parent fc70272de9
commit 74d752b4b5
1 changed files with 1 additions and 0 deletions

View File

@ -661,6 +661,7 @@ end-body --------- point at the end of the body"
Call `org-babel-execute-src-block' on every source block in
the current buffer."
(interactive "P")
(org-babel-eval-wipe-error-buffer)
(org-save-outline-visibility t
(org-babel-map-src-blocks nil
(org-babel-execute-src-block arg))))