Explorar o código

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).
Dan Davison %!s(int64=14) %!d(string=hai) anos
pai
achega
74d752b4b5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lisp/ob.el

+ 1 - 0
lisp/ob.el

@@ -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))))