mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
tools/ein: fix void-variable ein:jupyter-default-notebook-directory error
This commit is contained in:
@ -28,14 +28,15 @@
|
|||||||
'ein:company-backend))
|
'ein:company-backend))
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(setq ein:jupyter-server-args '("--no-browser")
|
(setq ein:notebook-modes
|
||||||
ein:notebook-modes
|
|
||||||
'(ein:notebook-multilang-mode ein:notebook-python-mode ein:notebook-plain-mode)
|
'(ein:notebook-multilang-mode ein:notebook-python-mode ein:notebook-plain-mode)
|
||||||
;; Slice images into rows; easier to navigate around images
|
;; Slice images into rows; easier to navigate around images
|
||||||
ein:slice-image t)
|
ein:slice-image t)
|
||||||
|
|
||||||
|
(after! ein-jupyter
|
||||||
|
(setq ein:jupyter-server-args '("--no-browser"))
|
||||||
(unless ein:jupyter-default-notebook-directory
|
(unless ein:jupyter-default-notebook-directory
|
||||||
(setq ein:jupyter-default-notebook-directory "~/"))
|
(setq ein:jupyter-default-notebook-directory "~/")))
|
||||||
|
|
||||||
(defun +ein-buffer-p (buf)
|
(defun +ein-buffer-p (buf)
|
||||||
(string-match-p "^\\*ein: .*" (buffer-name buf)))
|
(string-match-p "^\\*ein: .*" (buffer-name buf)))
|
||||||
|
Reference in New Issue
Block a user