mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Fix problems with with-jupyter-client-buffer
- Supply `with-current-buffer` with an actual buffer - Actually expand the `client` argument
This commit is contained in:
parent
00d50633c7
commit
2d83b757a6
1 changed files with 2 additions and 2 deletions
|
@ -177,8 +177,8 @@ connection is terminated before initializing."
|
|||
"Run a form inside CLIENT's IOloop subprocess buffer."
|
||||
(declare (indent 1))
|
||||
`(progn
|
||||
(cl-check-type client jupyter-kernel-client)
|
||||
(with-current-buffer (oref client ioloop)
|
||||
(cl-check-type ,client jupyter-kernel-client)
|
||||
(with-current-buffer (process-buffer (oref ,client ioloop))
|
||||
,@body)))
|
||||
|
||||
(defun jupyter-set (client symbol newval)
|
||||
|
|
Loading…
Add table
Reference in a new issue