diff options
author | Bastien Guerry <bastien1@free.fr> | 2012-04-26 19:30:04 +0200 |
---|---|---|
committer | Bastien Guerry <bastien1@free.fr> | 2012-04-26 19:30:04 +0200 |
commit | 2f885dcacb7fdc09700705e15b7741988d2ad70f (patch) | |
tree | 732aebeaaa8f884d077ec812e0ecb31285ab6845 /lisp/org/ob-python.el | |
parent | 2a12997ca97ac8cf0e44657e01c53ab51de497d0 (diff) | |
download | emacs-2f885dcacb7fdc09700705e15b7741988d2ad70f.tar.gz emacs-2f885dcacb7fdc09700705e15b7741988d2ad70f.tar.bz2 emacs-2f885dcacb7fdc09700705e15b7741988d2ad70f.zip |
Sync with Org git commit 374c56b.
Diffstat (limited to 'lisp/org/ob-python.el')
-rw-r--r-- | lisp/org/ob-python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org/ob-python.el b/lisp/org/ob-python.el index 0dc744aaa73..348248f35cf 100644 --- a/lisp/org/ob-python.el +++ b/lisp/org/ob-python.el @@ -64,7 +64,7 @@ This function is called by `org-babel-execute-src-block'." (preamble (cdr (assoc :preamble params))) (full-body (org-babel-expand-body:generic - (concat body (if return-val (format "return %s" return-val) "")) + (concat body (if return-val (format "\nreturn %s" return-val) "")) params (org-babel-variable-assignments:python params))) (result (org-babel-python-evaluate session full-body result-type result-params preamble))) |