diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index ac0fc4f3a3b..5d528e5fa28 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1550,6 +1550,7 @@ buffer for a list of commands.)" | |||
| 1550 | (with-current-buffer | 1550 | (with-current-buffer |
| 1551 | (let* ((cmdlist | 1551 | (let* ((cmdlist |
| 1552 | (append (python-args-to-list cmd) | 1552 | (append (python-args-to-list cmd) |
| 1553 | ;; See http://lists.gnu.org/archive/html/emacs-devel/2008-09/msg00215.html | ||
| 1553 | '("-i" "-c" "import sys; sys.path.remove('')"))) | 1554 | '("-i" "-c" "import sys; sys.path.remove('')"))) |
| 1554 | (path (getenv "PYTHONPATH")) | 1555 | (path (getenv "PYTHONPATH")) |
| 1555 | (process-environment ; to import emacs.py | 1556 | (process-environment ; to import emacs.py |