I'm loading a DLL by name, but the DLL has to be in the XEmacs process'
PATH for Windows to find it. The DLL comes from a plug-in we wrote, and
we want to be able to load it just by putting in some lines into a
user's .emacs file; rather than making them run a script that modifies
their PATH first, and then runs XEmacs.
Andrew
On Tuesday, October 23, 2001, at 12:12 AM, Michael Sperber [Mr.
Preprocessor] wrote:
>>>>> "Andrew" == Andrew Begel
<abegel(a)eecs.berkeley.edu> writes:
Andrew> I'm trying to add an entry to the PATH environment variable in
my
Andrew> Windows (native) XEmacs 21.4.3. I use (putenv "PATH" mypath) but
Andrew> according to the docs, this only affects subprocesses. How can I
Andrew> modify an environment variable that XEmacs itself is using (in
the
Andrew> process from which it was started). Is there a function for
this?
Most environment variables XEmacs uses are only read at startup, and
their values end up in some other representations as values of Lisp
variables. (The counterpart for PATH is `exec-path'.) Therefore it
won't matter much to XEmacs if you change them. What exactly do you
want to do?
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
-----------
Andrew Begel
Computer Science Division
UC Berkeley