mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Use and
in one place
* jupyter-org-client.el (jupyter-org--append-stream-result-p): Do it.
This commit is contained in:
parent
7d61c82567
commit
90e0c06f2e
1 changed files with 3 additions and 3 deletions
|
@ -1263,9 +1263,9 @@ is a stream result. Otherwise return nil."
|
||||||
Return nil if CONTEXT does not represent a previous stream result
|
Return nil if CONTEXT does not represent a previous stream result
|
||||||
already present in the buffer or if RESULT is not a stream
|
already present in the buffer or if RESULT is not a stream
|
||||||
result."
|
result."
|
||||||
(when (and (jupyter-org--stream-result-p result)
|
(and (jupyter-org--stream-result-p result)
|
||||||
(not (jupyter-org--first-result-context-p context)))
|
(not (jupyter-org--first-result-context-p context))
|
||||||
(jupyter-org--stream-context-p context)))
|
(jupyter-org--stream-context-p context)))
|
||||||
|
|
||||||
;; Adapted from `jupyter-handle-control-codes'
|
;; Adapted from `jupyter-handle-control-codes'
|
||||||
(defun jupyter-org--handle-control-codes (beg end)
|
(defun jupyter-org--handle-control-codes (beg end)
|
||||||
|
|
Loading…
Add table
Reference in a new issue