[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EMACS enviroment variable wrong in M-x compile
From: |
Eli Zaretskii |
Subject: |
Re: EMACS enviroment variable wrong in M-x compile |
Date: |
Mon, 8 Apr 2002 17:46:34 +0300 (IDT) |
On Mon, 8 Apr 2002, David =?iso-8859-1?q?K=E5gedal?= wrote:
> In Emacs 21.2 (from debian package emacs21 21.2-1), a change in
> compile.el was introduced (but not mentioned in NEWS of even the
> changelog) so that it doesn't set EMACS in the environment when
> running compilation processes. Unfortunately, the test seems to be
> inverted.
>
> compile.el:844:
> (if (getenv "EMACS")
> (setq process-environment
> (cons "EMACS=t" process-environment)))
>
> Shouldn't the test be (not (getenv "EMACS"))? As it is now, $EMACS
> won't get set for me.
Thank you for your report. Yes, this is a bug. It will be fixed in the
next release.