diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2011-07-03 12:08:13 -0600 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2011-07-03 12:08:13 -0600 |
commit | fcede7c5779f9e3d9fc0a3b344f20ee312813ddd (patch) | |
tree | 95253336d8f3ccdb05edb7075d32a42e7977e0ab | |
parent | 9e7ef71da32eeaea748177da85cc1868f8990d27 (diff) | |
download | org-mode-fcede7c5779f9e3d9fc0a3b344f20ee312813ddd.tar.gz |
ob-python: enough newlines to ensure a return when ":results output :session"
* lisp/ob-python.el (org-babel-python-evaluate-session): Enough
newlines to ensure a return when ":results output :session".
-rw-r--r-- | lisp/ob-python.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ob-python.el b/lisp/ob-python.el index efd20a3..3e6c395 100644 --- a/lisp/ob-python.el +++ b/lisp/ob-python.el @@ -269,8 +269,9 @@ last statement in BODY, as elisp." (org-babel-comint-with-output (session org-babel-python-eoe-indicator t body) (input-body body) + (send-wait) (send-wait) (insert org-babel-python-eoe-indicator) - (send-wait) (send-wait)) + (send-wait)) 2) "\n")) (value (let ((tmp-file (org-babel-temp-file "python-"))) |