From: Chong Yidong Date: Sat, 18 Nov 2006 21:01:11 +0000 (+0000) Subject: (compilation-start): Set EMACS and INSIDE_EMACS to t. X-Git-Tag: emacs-pretest-22.0.91~12 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e725507a302c6c22f2d054d3c8fc359f1446d1d2;p=emacs.git (compilation-start): Set EMACS and INSIDE_EMACS to t. --- diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 15346be53c7..cc1fe1ef827 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -1069,7 +1069,8 @@ Returns the compilation buffer created." ;; Set the EMACS variable, but ;; don't override users' setting of $EMACS. (unless (getenv "EMACS") - (list (concat "EMACS=" invocation-directory invocation-name))) + (list "EMACS=t")) + (list "INSIDE_EMACS=t") (copy-sequence process-environment)))) (set (make-local-variable 'compilation-arguments) (list command mode name-function highlight-regexp))