From 63d178be33a087c228560600268370e548821fd6 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 12 Apr 2002 16:45:25 +0000 Subject: [PATCH] (compile-internal): Fix the change from 2001-07-23. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/compile.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ef5e373c62c..6f273a15128 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2002-04-12 Eli Zaretskii + + * progmodes/compile.el (compile-internal): Fix the change from + 2001-07-23. + 2002-03-16 Eli Zaretskii * Version 21.2 released. diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index f49948d2333..0458c665c51 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -841,7 +841,7 @@ Returns the compilation buffer created." (window-width))))) ;; Set the EMACS variable, but ;; don't override users' setting of $EMACS. - (if (getenv "EMACS") + (or (getenv "EMACS") (setq process-environment (cons "EMACS=t" process-environment))) (set-process-sentinel proc 'compilation-sentinel) -- 2.39.2