summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAllen Li <darkfeline@felesatra.moe>2017-12-15 11:30:25 +0200
committerEli Zaretskii <eliz@gnu.org>2017-12-15 11:30:25 +0200
commit8ed529f0f300487600ac49cff22cce09c45db94b (patch)
tree73ae92d652246239b34d9aa1b793a6767d860f14 /etc
parent889f07c352f7e0deccf59353a60a45f2716551d8 (diff)
downloademacs-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/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 6151543ee4e..784c608041b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
---