1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
Juanma Barranquero
b71038b25c (setenv): Don't quote nil and t in docstrings. 2003-05-06 17:54:41 +00:00
Kenichi Handa
1ebb05c430 (setenv): Fix previous change. 2003-02-25 06:19:36 +00:00
Dave Love
1a90eae68d (read-envvar-name): Decode names.
(substitute-env-vars): Use eval-when-compile and char class.
(setenv): Doc fix.  Encode the data (after checking that's
possible).
(getenv): Encode the name and decode the result.
2003-02-24 22:51:41 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Gerd Moellmann
1fd520b6b3 (substitute-env-vars): Don't quote argument to `rx';
it's a macro.
2001-10-29 09:10:48 +00:00
Richard M. Stallman
0209a386fb (substitute-env-vars): Quote the arg to rx. 2001-10-24 22:49:12 +00:00
Gerd Moellmann
a4a216c5c9 (substitute-env-vars): New function.
(setenv): Add parameter SUBSTITUTE-ENV-VARS.  If set, substitute
environment variables in VALUE.  Return VALUE.
2001-10-05 09:23:32 +00:00
Gerd Moellmann
2a5becfb51 (setenv): Interactively, if VARIABLE has a current value,
add that to the front of the history, as the doc string says.
2001-09-04 15:49:51 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Gerd Moellmann
b1e11b4f9f (getenv): New function, interactively callable.
(setenv, getenv): Remove autoload cookies.
2000-05-15 14:50:12 +00:00
Richard M. Stallman
80370c1cec (setenv): Simplify reading of args by passing old value as the default. 1998-03-17 08:14:28 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Richard M. Stallman
7fd817093f (setenv): Call set-time-zone-rule when setting TZ. 1995-09-10 04:36:12 +00:00
Richard M. Stallman
8b74000909 (read-envvar-name): Special meaning for MUSTMATCH
neither t nor nil.
(setenv): Use that new case, when clearing a var.
1994-10-05 06:29:50 +00:00
Richard M. Stallman
99ac138a9c (setenv-history): New history list.
(setenv): Use setenv-history.
Place the variable's current value at front of setenv-history
while reading the new value.

(setenv): Provide history, completion for envvar.
(read-envvar-name-history): New variable.
(read-envvar-name): New function.
1994-10-02 04:03:32 +00:00
Richard M. Stallman
dffc4996aa Update copyright notice. 1994-06-22 04:40:17 +00:00
Richard M. Stallman
cbfe666bc7 (setenv): Rewrite. Provide a way to unset interactively. 1994-06-22 04:39:27 +00:00
Richard M. Stallman
a3cda2735d (setenv): Do something even if process-environment is nil. 1994-06-22 04:07:38 +00:00
Richard M. Stallman
7e68de5600 (setenv): Treat case as significant. 1993-06-11 21:33:27 +00:00
Richard M. Stallman
b3b8e91578 (setenv): Renamed back from putenv. 1993-03-28 22:27:23 +00:00
Noah Friedman
1bbda2d6e0 renamed to env.el; changed setenv to putenv. 1993-03-28 07:13:09 +00:00
Eric S. Raymond
d9ecc911ff Added or corrected Commentary headers 1993-03-22 16:53:22 +00:00
Richard M. Stallman
aa673ecc67 (setenv): Make it autoload. 1992-09-26 21:34:39 +00:00
Richard M. Stallman
b6a5978e16 Doc fix. 1992-09-26 21:15:01 +00:00
Eric S. Raymond
971571b96c entered into RCS 1992-09-21 12:33:27 +00:00
Eric S. Raymond
d7b4d18fd4 *** empty log message *** 1992-07-17 20:24:00 +00:00
Eric S. Raymond
e516799970 *** empty log message *** 1992-07-16 21:47:34 +00:00
Eric S. Raymond
c88ab9ce4a *** empty log message *** 1992-05-30 21:11:25 +00:00
Jim Blandy
49116ac071 *** empty log message *** 1992-03-16 20:39:07 +00:00
Jim Blandy
6449c8985c Initial revision 1992-01-14 04:41:51 +00:00