diff options
author | Allen Li <darkfeline@felesatra.moe> | 2017-12-15 11:30:25 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-12-15 11:30:25 +0200 |
commit | 8ed529f0f300487600ac49cff22cce09c45db94b (patch) | |
tree | 73ae92d652246239b34d9aa1b793a6767d860f14 /etc | |
parent | 889f07c352f7e0deccf59353a60a45f2716551d8 (diff) | |
download | emacs-8ed529f0f300487600ac49cff22cce09c45db94b.tar.gz |
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 'etc')
-rw-r--r-- | etc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -812,6 +812,13 @@ whose content matches a regexp; bound to '% g'. *** New user option 'comint-move-point-for-matching-input' to control where to place point after 'C-c M-r' and 'C-c M-s'. ++++ +*** New user option 'comint-terminfo-terminal'. +This option allows control of the value of the TERM environment +variable Emacs puts into the environment of the Comint mode and its +derivatives, such as Shell mode and Compilation Shell minor-mode. The +default is "dumb", for compatibility with previous behavior. + ** Compilation mode --- |