changeset 74057:636627b25f70

(compilation-start): Set EMACS and INSIDE_EMACS to t.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 18 Nov 2006 21:01:11 +0000
parents 8580dcf86c2c
children 05d799bc0cda
files lisp/progmodes/compile.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Sat Nov 18 21:00:35 2006 +0000
+++ b/lisp/progmodes/compile.el	Sat Nov 18 21:01:11 2006 +0000
@@ -1069,7 +1069,8 @@
 	      ;; 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))