]> git.eshelyaron.com Git - emacs.git/commitdiff
(term-exec-1): Set envvar INSIDE_EMACS.
authorRichard M. Stallman <rms@gnu.org>
Tue, 28 Nov 2006 02:21:28 +0000 (02:21 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 28 Nov 2006 02:21:28 +0000 (02:21 +0000)
lisp/term.el

index 4124e2a2969eb7d8b9762e6cbaa6e821e9ca0f7d..77dd921b7b633ae2dbd3f3d0386e8d057042d00c 100644 (file)
@@ -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))