help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inferior Python Mode


From: Stefan Monnier
Subject: Re: Inferior Python Mode
Date: Thu, 09 Aug 2007 13:52:51 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> I also tried adding
> (setq load-path (cons "C:/Python25" load-path))

Sorry, I was half-asleep when I said it should work.
`load-path' is used to find Elisp packages.  You want to modify `exec-path'
instead (which the path used to find external executables).

   (setq exec-path (cons "C:/Python25" exec-path))
or
   (add-to-list 'exec-path "C:/Python25")

The second option has the advantage that if "C:/Python25" is there already,
it won't be added a second time, which is good if you happen to
load&reload&rereload&... your .emacs file.


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]