mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(term-exec-1): Set envvar INSIDE_EMACS.
This commit is contained in:
parent
ee4dc5d959
commit
503bc651bd
@ -1422,8 +1422,12 @@ The main purpose is to get rid of the local keymap."
|
||||
(format "TERMINFO=%s" data-directory)
|
||||
(format term-termcap-format "TERMCAP="
|
||||
term-term-name term-height term-width)
|
||||
;; Breaks `./configure' of w3 and url which try to run $EMACS.
|
||||
;; We are going to get rid of the binding for EMACS,
|
||||
;; probably in Emacs 23, because it breaks
|
||||
;; `./configure' of some packages that expect it to
|
||||
;; say where to find EMACS.
|
||||
(format "EMACS=%s (term:%s)" emacs-version term-protocol-version)
|
||||
(format "INSIDE_EMACS=%s,term:%s" emacs-version term-protocol-version)
|
||||
(format "LINES=%d" term-height)
|
||||
(format "COLUMNS=%d" term-width))
|
||||
process-environment))
|
||||
|
Loading…
Reference in New Issue
Block a user