Fix Bug#28139
commit40d41dd4971a880b30b505e6f0da797048983954
authorDaniel Pittman <slippycheeze@google.com>
Tue, 14 Nov 2017 10:38:30 +0000 (14 11:38 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 14 Nov 2017 10:38:30 +0000 (14 11:38 +0100)
tree12347c5d3dd481d1df833d664b17d236d47ea681
parenta5ec644caa746092a9a1d002f565d4fb260f9567
Fix Bug#28139

* tramp-sh.el: Set TERM and INSIDE_EMACS environment earlier.
(tramp-remote-process-environment): Remove TERM and INSIDE_EMACS.
(tramp-remote-process-environment): Document their special handling.
(tramp-open-shell): Set TERM and INSIDE_EMACS prior to starting the
initial remote shell, so that it is also aware of the environment
in which it is operating.  (Bug#28139)
lisp/net/tramp-sh.el