aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2016-04-07 16:52:01 -0700
committerPaul Eggert2016-04-07 16:52:26 -0700
commitf36df4b97ba6f335c24ada099203a9244ac84ce5 (patch)
treec19f7e8c10750301d56981900e6719e093907c62 /doc
parentfb0b531e9e5a260addf79ad1603cc8b7c2c03d1f (diff)
downloademacs-f36df4b97ba6f335c24ada099203a9244ac84ce5.tar.gz
emacs-f36df4b97ba6f335c24ada099203a9244ac84ce5.zip
Don’t recommend obsolete EMACS env var
* doc/misc/efaq.texi (Escape sequences in shell output): Remove long-obsolete (and now-confusing) notes about the EMACS environment variable in Emacs 21.1 and earlier. * doc/misc/efaq.texi (^M in the shell buffer): * etc/PROBLEMS: Remove obsolescent recommendation to consult the EMACS environment variable.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/efaq.texi15
1 files changed, 4 insertions, 11 deletions
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index 5008db31f25..1fa46492080 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -2664,11 +2664,6 @@ by typing @kbd{M-x ansi-color-for-comint-mode} in the Shell buffer, or
2664by adding @code{(add-hook 'shell-mode-hook 2664by adding @code{(add-hook 'shell-mode-hook
2665'ansi-color-for-comint-mode-on)} to your init file. 2665'ansi-color-for-comint-mode-on)} to your init file.
2666 2666
2667In Emacs versions before 21.1, the @code{ansi-color} package is not
2668included. In that case, you need to unalias @code{ls} for interactive
2669shells running in Emacs; this can be done by checking the @code{EMACS}
2670variable in the environment.
2671
2672@node Fullscreen mode on MS-Windows 2667@node Fullscreen mode on MS-Windows
2673@section How can I start Emacs in fullscreen mode on MS-Windows? 2668@section How can I start Emacs in fullscreen mode on MS-Windows?
2674@cindex Maximize frame 2669@cindex Maximize frame
@@ -2757,11 +2752,9 @@ For @code{tcsh}, put this in your @file{.cshrc} (or @file{.tcshrc})
2757file: 2752file:
2758 2753
2759@example 2754@example
2760if ($?EMACS) then 2755if ($?INSIDE_EMACS && $?tcsh)
2761 if ("$EMACS" =~ /*) then 2756 unset edit
2762 if ($?tcsh) unset edit 2757 stty -icrnl -onlcr -echo susp ^Z
2763 stty nl
2764 endif
2765endif 2758endif
2766@end example 2759@end example
2767 2760
@@ -2769,7 +2762,7 @@ Or put this in your @file{.emacs_tcsh} or @file{~/.emacs.d/init_tcsh.sh} file:
2769 2762
2770@example 2763@example
2771unset edit 2764unset edit
2772stty nl 2765stty -icrnl -onlcr -echo susp ^Z
2773@end example 2766@end example
2774 2767
2775Alternatively, use @code{csh} in your shell buffers instead of 2768Alternatively, use @code{csh} in your shell buffers instead of