Browse Source

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

custom
toctan 11 years ago
parent
commit
71fe265293
  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