(run-python): Fix path separator under w32.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 28 Jul 2007 20:24:19 +0000 (20:24 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 28 Jul 2007 20:24:19 +0000 (20:24 +0000)
lisp/ChangeLog
lisp/progmodes/python.el

index fc21fc3..9a1178c 100644 (file)
@@ -1,3 +1,7 @@
+2007-07-28  Novitsky, Konstantin  <knovitsk@Bear.com>  (tiny change)
+
+       * progmodes/python.el (run-python): Fix path separator under w32.
+
 2007-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * vc-git.el: New File.
index 1a84d46..ca18f77 100644 (file)
@@ -1351,7 +1351,7 @@ buffer for a list of commands.)"
                (path (getenv "PYTHONPATH"))
                (process-environment    ; to import emacs.py
                 (cons (concat "PYTHONPATH=" data-directory
-                              (if path (concat ":" path)))
+                              (if path (concat path-separator path)))
                       process-environment)))
           (apply 'make-comint-in-buffer "Python"
                  (if new (generate-new-buffer "*Python*") "*Python*")