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

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

Re: Flyspell error


From: Eli Zaretskii
Subject: Re: Flyspell error
Date: Tue, 04 Aug 2009 21:10:12 +0300

> Date: Tue, 4 Aug 2009 14:44:33 +1000
> From: sam jesse <revrvr@gmail.com>
> Cc: help-gnu-emacs@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?

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

> (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]