Skip to content

Commit 2a68535

Browse files
committed
tweak(ein): load org-babel the right way
1 parent e7af964 commit 2a68535

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/me-math.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@
4747
"O" #'ein:process-open-notebook
4848
"r" #'ein:gat-run-remote
4949
"l" #'ein:gat-run-local)
50+
5051
(setq-default ein:markdown-enable-math t)
5152

5253
(with-eval-after-load 'org
53-
(add-to-list 'org-babel-load-languages '(ein . t))
54+
(org-babel-do-load-languages 'org-babel-load-languages (append org-babel-load-languages '((ein . t))))
5455
(setq org-src-lang-modes (append org-src-lang-modes '(("ein-python" . python) ("ein-r" . r) ("ein-julia" . julia))))))
5556

5657
(use-package julia-mode

0 commit comments

Comments
 (0)