mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 23:41:38 -05:00
jupyter-with-output-buffer: Properly initialize jupyter-output-buffer-marker
This commit is contained in:
parent
172f29b4fe
commit
6a7a6aa4b3
1 changed files with 3 additions and 1 deletions
|
@ -366,7 +366,9 @@ the output buffer."
|
|||
(let ((inhibit-read-only t))
|
||||
(when (jupyter--reset-output-buffer-p ,reset)
|
||||
(erase-buffer)
|
||||
(set-marker jupyter-output-buffer-marker (point)))
|
||||
(if jupyter-output-buffer-marker
|
||||
(set-marker jupyter-output-buffer-marker (point))
|
||||
(setq jupyter-output-buffer-marker (point-marker))))
|
||||
(goto-char jupyter-output-buffer-marker)
|
||||
(jupyter-with-control-code-handling ,@body)
|
||||
(set-marker jupyter-output-buffer-marker (point)))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue