opensubscriber
   Find in this group all groups
 
Unknown more information…

e : emacs-diffs@gnu.org 25 August 2008 • 3:47AM -0400

[Emacs-diffs] Changes to emacs/lisp/progmodes/python.el,v
by Romain Francoise

REPLY TO AUTHOR
 
REPLY TO GROUP






CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Romain Francoise <rfrancoise> 08/08/24 19:47:09

Index: progmodes/python.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/python.el,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -b -r1.89 -r1.90
--- progmodes/python.el 8 May 2008 03:42:10 -0000 1.89
+++ progmodes/python.el 24 Aug 2008 19:47:09 -0000 1.90
@@ -1547,7 +1547,9 @@
   ;; invoked.  Would support multiple processes better.
   (when (or new (not (comint-check-proc python-buffer)))
     (with-current-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 emacs.py
(cons (concat "PYTHONPATH="


_______________________________________________
Emacs-diffs mailing list
Emacs-diffs@gnu....
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.