mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Only modify the result parameters if needed in jupyter-org-add-result
This commit is contained in:
parent
1198965d57
commit
da6587f5f6
1 changed files with 2 additions and 1 deletions
|
@ -452,7 +452,8 @@ block for the request."
|
|||
(org-with-point-at (jupyter-org-request-marker req)
|
||||
(jupyter-org-clear-request-id req)
|
||||
(jupyter-org-insert-results result params))
|
||||
(jupyter-org--inject-render-param "append" params))
|
||||
(unless (member "append" (assq :result-params params))
|
||||
(jupyter-org--inject-render-param "append" params)))
|
||||
(push result (jupyter-org-request-results req)))))
|
||||
|
||||
(defun jupyter-org-insert-results (results params)
|
||||
|
|
Loading…
Add table
Reference in a new issue