emacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-commit] Changes to emacs/man/misc.texi,v


From: Chong Yidong
Subject: [Emacs-commit] Changes to emacs/man/misc.texi,v
Date: Sat, 18 Nov 2006 21:00:17 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      06/11/18 21:00:16

Index: misc.texi
===================================================================
RCS file: /sources/emacs/emacs/man/misc.texi,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -b -r1.93 -r1.94
--- misc.texi   12 Sep 2006 16:43:25 -0000      1.93
+++ misc.texi   18 Nov 2006 21:00:16 -0000      1.94
@@ -486,12 +486,16 @@
 @kbd{C-x @key{RET} p} in the shell buffer.  @xref{Communication
 Coding}.
 
address@hidden @env{INSIDE_EMACS} environment variable
+  Emacs sets the envitonment variable @env{INSIDE_EMACS} to @code{t}
+in the subshell.  Programs can check this variable to determine
+whether they are running inside an Emacs subshell.
+
 @cindex @env{EMACS} environment variable
-  Unless the environment variable @env{EMACS} is already defined,
-Emacs defines it in the subshell, with value equal to Emacs's absolute
-file name.  A shell script
-can check this variable to determine whether it has been run from an
-Emacs subshell.
+  Emacs also sets the @env{EMACS} environment variable to @code{t} if
+it is not already defined.  @strong{Warning:} This environment
+variable is deprecated.  Programs that check this variable should be
+changed to check @env{INSIDE_EMACS} instead.
 
 @node Shell Mode
 @subsection Shell Mode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]