mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-08 16:41:39 -05:00
Document jupyter-after
This commit is contained in:
parent
de44385340
commit
47b33052ae
1 changed files with 7 additions and 3 deletions
|
@ -62,10 +62,14 @@
|
||||||
`(let ((jupyter-current-io ,io))
|
`(let ((jupyter-current-io ,io))
|
||||||
(jupyter--do ,@forms)))
|
(jupyter--do ,@forms)))
|
||||||
|
|
||||||
(defun jupyter-after (io-value fn)
|
(defun jupyter-after (io-value io-fn)
|
||||||
|
"Return an I/O action that binds IO-VALUE to IO-FN.
|
||||||
|
That is, IO-FN is evaluated after binding IO-VALUE within the I/O
|
||||||
|
context."
|
||||||
(declare (indent 1))
|
(declare (indent 1))
|
||||||
(lambda (io)
|
(lambda (_)
|
||||||
(jupyter-bind io-value fn)))
|
(jupyter-bind io-value io-fn)))
|
||||||
|
|
||||||
|
|
||||||
(defun jupyter-idle (io-req)
|
(defun jupyter-idle (io-req)
|
||||||
(jupyter-after io-req
|
(jupyter-after io-req
|
||||||
|
|
Loading…
Add table
Reference in a new issue