exec-path-from-shell-copy-env PYTHONPATH

This commit is contained in:
toctan 2014-10-15 18:30:17 +08:00
parent 2440f7fda9
commit 71fe265293

View file

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