mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
Set metadata in ein:worksheet-from-json
Note that metadata slow was not set elsewhere before.
This commit is contained in:
parent
e03f8861b6
commit
88f4e488f9
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ this value."
|
|||
|
||||
(defmethod ein:worksheet-from-json ((ws ein:worksheet) data)
|
||||
(destructuring-bind (&key cells metadata &allow-other-keys) data
|
||||
(oset ws :metadata metadata)
|
||||
(oset ws :saved-cells
|
||||
(mapcar (lambda (data) (ein:cell-from-json data)) cells)))
|
||||
ws)
|
||||
|
|
Loading…
Add table
Reference in a new issue