mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Use delay-mode-hooks
* jupyter-mime (jupyter-get-fontify-buffer): Do it.
This commit is contained in:
parent
75a08c26d0
commit
959eb0b9b7
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ If no buffer for MODE exists, create a new one."
|
|||
(setq buf (get-buffer-create
|
||||
(format " *jupyter-repl-fontify[%s]*" mode)))
|
||||
(with-current-buffer buf
|
||||
(funcall mode))
|
||||
(delay-mode-hooks (funcall mode)))
|
||||
(setf (alist-get mode jupyter-fontify-buffers) buf))
|
||||
buf))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue