ob-python: inhibit return of the eoe string during session evaluation
* lisp/ob-python.el (org-babel-python-evaluate-session): Inhibit return of the eoe string during session evaluation.
This commit is contained in:
parent
fcede7c577
commit
e409a859ff
|
@ -255,12 +255,13 @@ last statement in BODY, as elisp."
|
|||
(split-string body "[\r\n]"))
|
||||
(send-wait)))
|
||||
((lambda (results)
|
||||
(unless (string= (substring org-babel-python-eoe-indicator 1 -1) results)
|
||||
(if (or (member "code" result-params)
|
||||
(member "pp" result-params)
|
||||
(and (member "output" result-params)
|
||||
(not (member "table" result-params))))
|
||||
results
|
||||
(org-babel-python-table-or-string results)))
|
||||
(org-babel-python-table-or-string results))))
|
||||
(case result-type
|
||||
(output
|
||||
(mapconcat
|
||||
|
|
Loading…
Reference in New Issue