]> code.delx.au - gnu-emacs/commitdiff
(Environment): Mention removing variables
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 10 Jul 2011 14:29:19 +0000 (16:29 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 10 Jul 2011 14:29:19 +0000 (16:29 +0200)
Text suggested by Kevin Rodgers.

doc/emacs/ChangeLog
doc/emacs/cmdargs.texi

index 8a5bccc183c9fe3e093eb7376d5af93215efecac..9993f5f883eb38d89c42fe0997ce6df4ca4ade62 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * cmdargs.texi (Environment): Mention removing variables
+       (bug#1615).  Text suggested by Kevin Rodgers.
+
 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
 
        * misc.texi (Amusements): Don't mention Yow; it's crippled.
index 1c3b85559d2181f16fe636052683a9f9bf06e790..af493ade2f27afbf7c85ef0015ed8c13b92d77dd 100644 (file)
@@ -427,10 +427,11 @@ software) inherit the environment from Emacs, too.
 @vindex initial-environment
   Inside Emacs, the command @kbd{M-x getenv} gets the value of an
 environment variable.  @kbd{M-x setenv} sets a variable in the Emacs
-environment.  (Environment variable substitutions with @samp{$} work
-in the value just as in file names; see @ref{File Names with $}.)  The
-variable @code{initial-environment} stores the initial environment
-inherited by Emacs.
+environment, and @kbd{C-u M-x setenv} removes a variable.
+(Environment variable substitutions with @samp{$} work in the value
+just as in file names; see @ref{File Names with $}.)  The variable
+@code{initial-environment} stores the initial environment inherited by
+Emacs.
 
   The way to set environment variables outside of Emacs depends on the
 operating system, and especially the shell that you are using.  For