Coding}.
@cindex @env{INSIDE_EMACS} environment variable
-@cindex @env{EMACS} environment variable
Emacs sets the environment variable @env{INSIDE_EMACS} in the
subshell to @samp{@var{version},comint}, where @var{version} is the
Emacs version (e.g., @samp{24.1}). Programs can check this variable
-to determine whether they are running inside an Emacs subshell. (It
-also sets the @env{EMACS} environment variable to @code{t}, if that
-environment variable is not already defined. However, this
-environment variable is deprecated; programs that use it should switch
-to using @env{INSIDE_EMACS} instead.)
+to determine whether they are running inside an Emacs subshell.
@node Shell Mode
@subsection Shell Mode