]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/compile.el
Comint and compile no longer set EMACS
[gnu-emacs] / lisp / progmodes / compile.el
index 0b15a283090ea98258dd29b6c3de2459cb5a9881..b7ab408f744e2b88c48a25e3f09022ecc8f630dc 100644 (file)
@@ -1702,14 +1702,6 @@ Returns the compilation buffer created."
                (list "TERM=emacs"
                      (format "TERMCAP=emacs:co#%d:tc=unknown:"
                              (window-width))))
-
-             ;; Set the EMACS variable, but
-             ;; don't override users' setting of $EMACS.
-             ;; Remove this hack once Bash 4.4-or-later is common,
-             ;; since it can break 'configure'.
-             (unless (getenv "EMACS")
-               (list "EMACS=t"))
-
              (list (format "INSIDE_EMACS=%s,compile" emacs-version))
              (copy-sequence process-environment))))
        (set (make-local-variable 'compilation-arguments)