From: Lars Magne Ingebrigtsen Date: Sun, 10 Jul 2011 14:29:19 +0000 (+0200) Subject: (Environment): Mention removing variables X-Git-Tag: emacs-pretest-24.0.90~104^2~404 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3329e6e390caf3443ffa486b3e39dd71cafe3a29;p=emacs.git (Environment): Mention removing variables Text suggested by Kevin Rodgers. --- diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 8a5bccc183c..9993f5f883e 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,8 @@ +2011-07-10 Lars Magne Ingebrigtsen + + * cmdargs.texi (Environment): Mention removing variables + (bug#1615). Text suggested by Kevin Rodgers. + 2011-07-10 Chong Yidong * misc.texi (Amusements): Don't mention Yow; it's crippled. diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi index 1c3b85559d2..af493ade2f2 100644 --- a/doc/emacs/cmdargs.texi +++ b/doc/emacs/cmdargs.texi @@ -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