Permalink
Browse files

Use result parameters from a source block when replacing sentinel

  • Loading branch information...
dvzubarev committed Jul 1, 2017
1 parent a0ae4ad commit 1642a74d4402b77ce051879e7605bc7c6537f922
Showing with 3 additions and 1 deletion.
  1. +3 −1 ob-ipython.el
View
@@ -461,7 +461,9 @@ Make sure your src block has a :session param.")
(re-search-forward sentinel)
(org-babel-previous-src-block)
(org-babel-remove-result)
(org-babel-insert-result replacement))))))
(org-babel-insert-result
replacement
(cdr (assoc :result-params (nth 2 (org-babel-get-src-block-info))))))))))
;; lib

0 comments on commit 1642a74

Please sign in to comment.