diff options
Diffstat (limited to 'lisp/org/ob-octave.el')
-rw-r--r-- | lisp/org/ob-octave.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/org/ob-octave.el b/lisp/org/ob-octave.el index fbfc9b97356..5cb47e956ff 100644 --- a/lisp/org/ob-octave.el +++ b/lisp/org/ob-octave.el @@ -136,7 +136,8 @@ specifying a variable of the same value." (org-babel-comint-in-buffer session (mapc (lambda (var) (end-of-line 1) (insert var) (comint-send-input nil t) - (org-babel-comint-wait-for-output session)) var-lines)) + (org-babel-comint-wait-for-output session)) + var-lines)) session)) (defun org-babel-matlab-initiate-session (&optional session params) @@ -230,7 +231,8 @@ value of the last statement in BODY, as elisp." org-babel-octave-eoe-indicator org-babel-octave-eoe-output) t full-body) - (insert full-body) (comint-send-input nil t)))) results) + (insert full-body) (comint-send-input nil t)))) + results) (pcase result-type (`value (org-babel-octave-import-elisp-from-file tmp-file)) @@ -259,6 +261,4 @@ This removes initial blank and comment lines and then calls (provide 'ob-octave) - - ;;; ob-octave.el ends here |