diff options
| author | Allen Li | 2017-12-15 11:30:25 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-12-15 11:30:25 +0200 |
| commit | 8ed529f0f300487600ac49cff22cce09c45db94b (patch) | |
| tree | 73ae92d652246239b34d9aa1b793a6767d860f14 /doc | |
| parent | 889f07c352f7e0deccf59353a60a45f2716551d8 (diff) | |
| download | emacs-8ed529f0f300487600ac49cff22cce09c45db94b.tar.gz emacs-8ed529f0f300487600ac49cff22cce09c45db94b.zip | |
Add option to configure comint TERM
* lisp/comint.el (comint-terminfo-terminal): New defcustom.
(comint-term-environment): New function for setting terminal options
(comint-exec-1): Use comint-term-environment. (Bug#29583)
* lisp/progmodes/compile.el (compilation-start): Use comint-term-environment.
* etc/NEWS:
* doc/emacs/misc.texi (Shell Options): Document the new option.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/misc.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 6ad5fbafdd6..b6b396af8f5 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -1396,6 +1396,15 @@ directory stack if they are not already on it | |||
| 1396 | (@code{shell-pushd-dunique}). The values you choose should match the | 1396 | (@code{shell-pushd-dunique}). The values you choose should match the |
| 1397 | underlying shell, of course. | 1397 | underlying shell, of course. |
| 1398 | 1398 | ||
| 1399 | @vindex comint-terminfo-terminal | ||
| 1400 | Comint mode sets the @env{TERM} environment variable to a safe default | ||
| 1401 | value, but this value disables some useful features. For example, | ||
| 1402 | color is disabled for applications that use @env{TERM} to determine if | ||
| 1403 | color is supported. Therefore, Emacs provides an option | ||
| 1404 | @code{comint-terminfo-terminal}, which you can set to a terminal that | ||
| 1405 | is present in your system's terminfo database, in order to take | ||
| 1406 | advantage of advanced features of that terminal. | ||
| 1407 | |||
| 1399 | @node Terminal emulator | 1408 | @node Terminal emulator |
| 1400 | @subsection Emacs Terminal Emulator | 1409 | @subsection Emacs Terminal Emulator |
| 1401 | @findex term | 1410 | @findex term |