[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
setenv
From: |
Thomas F. Burdick |
Subject: |
setenv |
Date: |
14 Sep 2001 15:39:07 -0700 |
In Emacs 20 (and 21), setenv modifies process-environment. But it's
named after a C function that affects the current process, not just
child processes. While it's documented as such, I think it's a
misfeature because its name implies other behavior (that it acts like
the C function of the same name). This also means there's no way to
affect the environment of the currently running Emacs from Elisp.
My solution: getenv should be renamed to get-environment, setenv
renamed to set-environment, and getenv and setenv changed to behave as
their C namesakes.
- setenv,
Thomas F. Burdick <=
- Re: setenv, Andreas Schwab, 2001/09/20
- Re: setenv, Eli Zaretskii, 2001/09/20
- Re: setenv, Andreas Schwab, 2001/09/20
- Re: setenv, Eli Zaretskii, 2001/09/20
- Re: setenv, Andreas Schwab, 2001/09/20
- Re: setenv, Eli Zaretskii, 2001/09/20
- Re: setenv, Eli Zaretskii, 2001/09/20
- Re: setenv, Miles Bader, 2001/09/20
- Re: setenv, Eli Zaretskii, 2001/09/20
- Re: setenv, Andreas Schwab, 2001/09/21