From 71fe2652937a5f848f0c1c2493441a1a90a50b79 Mon Sep 17 00:00:00 2001 From: toctan Date: Wed, 15 Oct 2014 18:30:17 +0800 Subject: [PATCH] exec-path-from-shell-copy-env PYTHONPATH --- modules/prelude-python.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/prelude-python.el b/modules/prelude-python.el index 89038c8..961054a 100644 --- a/modules/prelude-python.el +++ b/modules/prelude-python.el @@ -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)