Browse Source

Merge pull request #713 from toctan/python-path

Copy env PYTHONPATH from shell
custom
Bozhidar Batsov 11 years ago
parent
commit
b7c65e2dbd
  1. 3
      modules/prelude-python.el

3
modules/prelude-python.el

@ -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)

Loading…
Cancel
Save