python: register python language for org-babel

This commit is contained in:
Joe Hillenbrand 2016-04-05 13:41:05 -07:00 committed by syl20bnr
parent 61115f3e6b
commit d3922095e2

View file

@ -21,8 +21,9 @@
helm-cscope
helm-pydoc
hy-mode
(nose :location local)
live-py-mode
(nose :location local)
org
pip-requirements
pyenv-mode
(pylookup :location local)
@ -152,6 +153,10 @@
(add-to-list 'nose-project-root-files "setup.cfg")
(setq nose-use-verbose nil))))
(defun python/pre-init-org ()
(spacemacs|use-package-add-hook org
:post-config (add-to-list 'org-babel-load-languages '(python . t))))
(defun python/init-pip-requirements ()
(use-package pip-requirements
:defer t