aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2006-11-18 21:00:16 +0000
committerChong Yidong2006-11-18 21:00:16 +0000
commited91b7edccf0d1a1a47a6b5c9664785f0fa5e41f (patch)
tree1897aaddf625d6083263b3e314db4f72b9a66dd6
parent10bcca0b8bbe1216eda8260d97a9de9f0cc07fe8 (diff)
downloademacs-ed91b7edccf0d1a1a47a6b5c9664785f0fa5e41f.tar.gz
emacs-ed91b7edccf0d1a1a47a6b5c9664785f0fa5e41f.zip
(Interactive Shell): INSIDE_EMACS is set to t, and EMACS is deprecated.
-rw-r--r--man/misc.texi14
1 files changed, 9 insertions, 5 deletions
diff --git a/man/misc.texi b/man/misc.texi
index 839e8bc88b3..d8511354577 100644
--- a/man/misc.texi
+++ b/man/misc.texi
@@ -486,12 +486,16 @@ also change the coding system for a running subshell by typing
486@kbd{C-x @key{RET} p} in the shell buffer. @xref{Communication 486@kbd{C-x @key{RET} p} in the shell buffer. @xref{Communication
487Coding}. 487Coding}.
488 488
489@cindex @env{INSIDE_EMACS} environment variable
490 Emacs sets the envitonment variable @env{INSIDE_EMACS} to @code{t}
491in the subshell. Programs can check this variable to determine
492whether they are running inside an Emacs subshell.
493
489@cindex @env{EMACS} environment variable 494@cindex @env{EMACS} environment variable
490 Unless the environment variable @env{EMACS} is already defined, 495 Emacs also sets the @env{EMACS} environment variable to @code{t} if
491Emacs defines it in the subshell, with value equal to Emacs's absolute 496it is not already defined. @strong{Warning:} This environment
492file name. A shell script 497variable is deprecated. Programs that check this variable should be
493can check this variable to determine whether it has been run from an 498changed to check @env{INSIDE_EMACS} instead.
494Emacs subshell.
495 499
496@node Shell Mode 500@node Shell Mode
497@subsection Shell Mode 501@subsection Shell Mode