mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Negligible changes
This commit is contained in:
parent
43fc5a6ab8
commit
072dce7c00
2 changed files with 4 additions and 5 deletions
|
@ -1114,8 +1114,7 @@ If RESTART is non-nil, request a restart instead of a complete shutdown."
|
|||
("error"
|
||||
(cl-destructuring-bind (&key ename evalue traceback &allow-other-keys)
|
||||
content
|
||||
(jupyter-handle-error
|
||||
client req ename evalue traceback)))
|
||||
(jupyter-handle-error client req ename evalue traceback)))
|
||||
("status"
|
||||
(cl-destructuring-bind (&key execution_state &allow-other-keys)
|
||||
content
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
;;; Implementation
|
||||
|
||||
(defclass jupyter-repl-client (jupyter-kernel-client)
|
||||
((buffer :type buffer :initarg :buffer)
|
||||
((buffer :type buffer)
|
||||
(execution-state :type string :initform "idle")
|
||||
(execution-count :type integer :initform 1)))
|
||||
|
||||
|
@ -1453,7 +1453,7 @@ contents of the last cell and do not run any of the
|
|||
`jupyter-repl-client' handlers. All that occurs is that STR is
|
||||
sent to the kernel for execution and the results of the execution
|
||||
displayed without anything showing up in the REPL buffer."
|
||||
(interactive)
|
||||
(interactive (list (read-string "Jupyter Eval: ") current-prefix-arg))
|
||||
(unless (buffer-local-value
|
||||
'jupyter-repl-current-client (current-buffer))
|
||||
(user-error "No `jupyter-repl-current-client' set, see `jupyter-repl-associate-buffer'"))
|
||||
|
@ -1517,7 +1517,7 @@ displayed without anything showing up in the REPL buffer."
|
|||
"Evaluate a region with the `jupyter-repl-current-client'.
|
||||
BEG and END are the beginning and end of the region to evaluate.
|
||||
SILENTLY has the same meaning as in `jupyter-repl-eval-string'."
|
||||
(interactive "r")
|
||||
(interactive "rP")
|
||||
(jupyter-repl-eval-string
|
||||
(buffer-substring-no-properties beg end) silently))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue