Merge pull request #713 from toctan/python-path

Copy env PYTHONPATH from shell
This commit is contained in:
Bozhidar Batsov 2014-10-15 13:56:47 +03:00
commit b7c65e2dbd

View file

@ -80,6 +80,9 @@
(when (buffer-modified-p)
(basic-save-buffer-1)))))))
(when (fboundp 'exec-path-from-shell-copy-env)
(exec-path-from-shell-copy-env "PYTHONPATH"))
(defun prelude-python-mode-defaults ()
"Defaults for Python programming."
(subword-mode +1)