diff --git a/applicationConfiguration/.emacs/init.el b/applicationConfiguration/.emacs/init.el index c23b503..738b9e7 100644 --- a/applicationConfiguration/.emacs/init.el +++ b/applicationConfiguration/.emacs/init.el @@ -122,7 +122,7 @@ (file "~/Nextcloud/Documentsy/org/refile-beorg.org") "" :immediate-finish t))) '(package-selected-packages - '(weechat jedi python-mode pylint py-autopep8 powershell outline-magic markdown-mode magit flycheck exec-path-from-shell elpygen elpy ein doom-themes csharp-mode))) + '(pdf-tools weechat jedi python-mode pylint py-autopep8 powershell outline-magic markdown-mode magit flycheck exec-path-from-shell elpygen elpy ein doom-themes csharp-mode))) ;; run emacs as server (connect to it with `emacsclient`) @@ -130,6 +130,12 @@ ;; PYTHON CONFIGURATION ;; -------------------------------------- +;; enable org-mode babel python code blocks +(org-babel-do-load-languages + 'org-babel-load-languages + '((python . t) + (matlab . t))) + (elpy-enable) (setq python-shell-interpreter "python3" python-shell-interpreter-args "-i")