Merge pull request #713 from toctan/python-path
Copy env PYTHONPATH from shell
This commit is contained in:
commit
b7c65e2dbd
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue