# HG changeset patch # User Glenn Morris # Date 1290305979 28800 # Node ID 372e746a38d7b2b691868846a267bcc95e9b18d6 # Parent 6e15675f8126643b24f462f757859f8afa415489 python.el comment. diff -r 6e15675f8126 -r 372e746a38d7 lisp/progmodes/python.el --- a/lisp/progmodes/python.el Sat Nov 20 18:16:10 2010 -0500 +++ b/lisp/progmodes/python.el Sat Nov 20 18:19:39 2010 -0800 @@ -1550,6 +1550,7 @@ (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