]> git.eshelyaron.com Git - emacs.git/commitdiff
(compilation-start): Set EMACS and INSIDE_EMACS to t.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 18 Nov 2006 21:01:11 +0000 (21:01 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 18 Nov 2006 21:01:11 +0000 (21:01 +0000)
lisp/progmodes/compile.el

index 15346be53c739588a18372958909177ddf8981aa..cc1fe1ef8278dec2824e1a4af6dbcd45b120aeab 100644 (file)
@@ -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))