mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-04 15:41:37 -05:00
Fix undefined variable
* jupyter-R.el (jupyter-org-result): Do it.
This commit is contained in:
parent
a9ae0bcef5
commit
62ad054001
1 changed files with 3 additions and 2 deletions
|
@ -42,8 +42,9 @@
|
|||
"If html DATA is an iframe, save it to a separate file and open in browser.
|
||||
Otherwise, parse it as normal."
|
||||
(if (plist-get (plist-get content :metadata) :isolated)
|
||||
(let ((file (or (alist-get :file params)
|
||||
(jupyter-org-image-file-name data ".html"))))
|
||||
(let* ((data (plist-get content :data))
|
||||
(file (or (alist-get :file params)
|
||||
(jupyter-org-image-file-name data ".html"))))
|
||||
(with-temp-file file
|
||||
(insert data))
|
||||
(browse-url-of-file file)
|
||||
|
|
Loading…
Add table
Reference in a new issue