Path: utzoo!yunexus!telly!attcan!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!BBN.COM!gildea From: gildea@BBN.COM (Stephen Gildea) Newsgroups: gnu.emacs.bug Subject: compile doesn't set EMACS environment variable Message-ID: <8903221801.AA29259@prep.ai.mit.edu> Date: 22 Mar 89 18:15:41 GMT Article-I.D.: prep.8903221801.AA29259 Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 9 The various shell-related modes set the environment variable "EMACS" to "t". This feature is useful for conditionalizing the behavior of some programs. Programs run with the compile package do not have this variable set and should. Perhaps Emacs should modify its own environment to add "EMACS=t" thus ensuring that any subprocess will see it. < Stephen