diff options
author | Richard M. Stallman <rms@gnu.org> | 2006-11-28 02:21:28 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2006-11-28 02:21:28 +0000 |
commit | 503bc651bd1d9cfa1079023df5249ee219dc44a0 (patch) | |
tree | bf4917ccc7335749ebc80f333264755dd7cd81f6 /lisp/term.el | |
parent | ee4dc5d959abd9c1795d3c01a0a036d057fc5838 (diff) | |
download | emacs-503bc651bd1d9cfa1079023df5249ee219dc44a0.tar.gz |
(term-exec-1): Set envvar INSIDE_EMACS.
Diffstat (limited to 'lisp/term.el')
-rw-r--r-- | lisp/term.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/term.el b/lisp/term.el index 4124e2a2969..77dd921b7b6 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -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)) |