Mercurial > emacs
diff lisp/progmodes/compile.el @ 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 | 2afcd781ea33 |
children | e56f52b00e2d dbe3f29e61d6 |
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))