From 20b1adff1c32cfeeba1cf3101b05d5c76037206d Mon Sep 17 00:00:00 2001 From: Matthew Leach Date: Mon, 30 Sep 2019 20:35:54 +0100 Subject: [PATCH] don't export LINES and COLUMNS env vars to term * lisp/term.el (term-exec-1): Remove the exporting of the LINES and COLUMNS environment variables to the terminal process. --- lisp/term.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/term.el b/lisp/term.el index 66ae470239a..e309bd802d5 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -1550,9 +1550,7 @@ term-exec-1 (format term-termcap-format "TERMCAP=" term-term-name term-height term-width) - (format "INSIDE_EMACS=%s,term:%s" emacs-version term-protocol-version) - (format "LINES=%d" term-height) - (format "COLUMNS=%d" term-width)) + (format "INSIDE_EMACS=%s,term:%s" emacs-version term-protocol-version)) process-environment)) (process-connection-type t) ;; We should suppress conversion of end-of-line format. -- 2.23.0