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

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

Re: Flyspell error


From: Xah Lee
Subject: Re: Flyspell error
Date: Tue, 4 Aug 2009 12:02:55 -0700 (PDT)
User-agent: G2/1.0

On Aug 4, 11:10 am, Eli Zaretskii <e...@gnu.org> wrote:
> > Date: Tue, 4 Aug 2009 14:44:33 +1000
> > From: sam jesse <rev...@gmail.com>
> > Cc: help-gnu-em...@gnu.org
>
> > (when (string-equal system-type "windows-nt")
> >  (progn
> >    (setenv "PATH" "/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin")
>
> Huh? why do you set PATH to a Unixy value when you are on a Windows
> machine?

my bad... am using cygwin.

> You should instead set PATH to the same value you set exec-path (only
> not as a Lisp list):

so the setenv PATH is equivalent to just setq exec-path? this is great
to know.

 Xah

> > (setq exec-path
> > '(
> > "C:/Windows/system32/"
> > "C:/Windows/"
> > "C:/Windows/System32/Wbem/"
> > "C:/Windows/system32/WindowsPowerShell/v1.0/"
> > "C:/Program Files/Aspell/bin/"
> > emacs shell echo %PATH% puts out
>
> > /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/
>
> Of course! because that's what you set it to, above.



reply via email to

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