From 7f9a0938f4a3e8ee12ca8f91b435fb96b4a425f3 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 20 Jan 2018 16:40:37 -0500 Subject: [PATCH] Also load python in org babel --- .emacs.d/init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 8ea2ba7..585758b 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -182,7 +182,11 @@ (interactive) (org-src-in-org-buffer (org-latex-export-to-pdf))) (setq org-confirm-babel-evaluate nil) - (add-to-list 'org-babel-load-languages '(dot . t)) + (org-babel-do-load-languages + 'org-babel-load-languages + '((emacs-lisp . t) + (dot . t) + (python . t))) (add-to-list 'org-src-lang-modes '("dot" . graphviz-dot)) (defun org-insert-homework-header () ""