mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(comint-exec-1): Force a local copy of the environment.
This commit is contained in:
parent
681410a1fb
commit
e009771e2e
1 changed files with 1 additions and 1 deletions
|
|
@ -574,7 +574,7 @@ buffer. The hook `comint-exec-hook' is run after each exec."
|
|||
;;; the appropriate environment.
|
||||
|
||||
(defun comint-exec-1 (name buffer command switches)
|
||||
(let ((process-environment process-environment))
|
||||
(let ((process-environment (copy-sequence process-environment)))
|
||||
(setenv "TERMCAP" (format "emacs:co#%d:tc=unknown" (frame-width)))
|
||||
(setenv "TERM" "emacs")
|
||||
(setenv "EMACS" "t")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue