summaryrefslogtreecommitdiff
path: root/doc/emacs/misc.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-12-15 11:45:22 +0200
committerEli Zaretskii <eliz@gnu.org>2017-12-15 11:45:22 +0200
commit12ad276d1586b2fe3cff9620538e2542773bc0f1 (patch)
tree5184e8f0f710780e385d730205901695de52f443 /doc/emacs/misc.texi
parent8ed529f0f300487600ac49cff22cce09c45db94b (diff)
downloademacs-12ad276d1586b2fe3cff9620538e2542773bc0f1.tar.gz
Improve documentation of TERM environment variable
* doc/emacs/trouble.texi (Checklist): * doc/emacs/building.texi (Compilation Shell): * doc/emacs/misc.texi (Shell Options): Improve indexing of TERM. * doc/emacs/building.texi (Compilation Shell): Mention 'comint-terminfo-terminal' in conjunction with the TERM value.
Diffstat (limited to 'doc/emacs/misc.texi')
-rw-r--r--doc/emacs/misc.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index b6b396af8f5..e4be004ae52 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -1397,9 +1397,10 @@ directory stack if they are not already on it
underlying shell, of course.
@vindex comint-terminfo-terminal
+@vindex TERM, environment variable, in sub-shell
Comint mode sets the @env{TERM} environment variable to a safe default
value, but this value disables some useful features. For example,
-color is disabled for applications that use @env{TERM} to determine if
+color is disabled in applications that use @env{TERM} to determine if
color is supported. Therefore, Emacs provides an option
@code{comint-terminfo-terminal}, which you can set to a terminal that
is present in your system's terminfo database, in order to take