Commit 75adb00d authored by Romain Francoise's avatar Romain Francoise
Browse files

(run-python): Remove '' from sys.path.

parent 8a445f76
2008-08-24 Romain Francoise <>
* progmodes/python.el (run-python): Remove '' from sys.path.
2008-08-23 Glenn Morris <>
* progmodes/fortran.el (fortran-tab-mode-string)
......@@ -1547,7 +1547,9 @@ buffer for a list of commands.)"
;; invoked. Would support multiple processes better.
(when (or new (not (comint-check-proc python-buffer)))
(let* ((cmdlist (append (python-args-to-list cmd) '("-i")))
(let* ((cmdlist
(append (python-args-to-list cmd)
'("-i" "-c" "import sys; sys.path.remove('')")))
(path (getenv "PYTHONPATH"))
(process-environment ; to import
(cons (concat "PYTHONPATH="
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment