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.)" (with-current-buffer (let* ((cmdlist (append (python-args-to-list cmd) + ;; See http://lists.gnu.org/archive/html/emacs-devel/2008-09/msg00215.html '("-i" "-c" "import sys; sys.path.remove('')"))) (path (getenv "PYTHONPATH")) (process-environment ; to import emacs.py