summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-04-08 13:39:17 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-04-08 13:40:01 -0700
commita1f221bd82eb4393ccba83a361b435a4992b532a (patch)
tree638526b67bc8bfc6b516465e56e65a6615b72790 /lisp/comint.el
parent5c288909b96452ed5d01befc8b624e94511620ed (diff)
downloademacs-a1f221bd82eb4393ccba83a361b435a4992b532a.tar.gz
Comint and compile no longer set EMACS
This mostly restores the change that I reverted on March 23, fixing most of Bug#20202. The only part of the change that is still reverted is the change to M-x term, where compatibility with current Bash constrains us from moving too quickly (Bug#20484). Problem reported by Phillip Lord in: http://bugs.gnu.org/20484#108 * etc/NEWS: Document this. * lisp/comint.el (comint-exec-1): * lisp/net/tramp-sh.el (tramp-remote-process-environment): * lisp/progmodes/compile.el (compilation-start): Don’t set EMACS=t in the subsidiary process.
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index cb79c175f0e..dcd4a5ae4cf 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -816,13 +816,6 @@ series of processes in the same Comint buffer. The hook
(format "COLUMNS=%d" (window-width)))
(list "TERM=emacs"
(format "TERMCAP=emacs:co#%d:tc=unknown:" (window-width))))
-
- ;; This hack is for backward compatibility with Bash 4.3 and
- ;; earlier. It can break common uses of 'configure', so
- ;; remove it once Bash 4.4 or later is common.
- (unless (getenv "EMACS")
- (list "EMACS=t"))
-
(list (format "INSIDE_EMACS=%s,comint" emacs-version))
process-environment))
(default-directory