diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2006-11-18 21:01:11 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2006-11-18 21:01:11 +0000 |
commit | e725507a302c6c22f2d054d3c8fc359f1446d1d2 (patch) | |
tree | 303fc62c94472fb55a9b602b7c82dc9a7f3362de /lisp/progmodes/compile.el | |
parent | fdf8f29f58a72458c24995e8eb6844b3412581ad (diff) | |
download | emacs-e725507a302c6c22f2d054d3c8fc359f1446d1d2.tar.gz emacs-e725507a302c6c22f2d054d3c8fc359f1446d1d2.tar.bz2 emacs-e725507a302c6c22f2d054d3c8fc359f1446d1d2.zip |
(compilation-start): Set EMACS and INSIDE_EMACS to t.
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r-- | lisp/progmodes/compile.el | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |