emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/compile.el,v


From: Paul Eggert
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/compile.el,v
Date: Tue, 12 Sep 2006 16:43:28 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Paul Eggert <eggert>    06/09/12 16:43:25

Index: lisp/progmodes/compile.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/compile.el,v
retrieving revision 1.406
retrieving revision 1.407
diff -u -b -r1.406 -r1.407
--- lisp/progmodes/compile.el   12 Sep 2006 10:00:38 -0000      1.406
+++ lisp/progmodes/compile.el   12 Sep 2006 16:43:24 -0000      1.407
@@ -1068,7 +1068,8 @@
                              (window-width))))
              ;; Set the EMACS variable, but
              ;; don't override users' setting of $EMACS.
-             (unless (getenv "EMACS") '("EMACS=t"))
+             (unless (getenv "EMACS")
+               (list (concat "EMACS=" invocation-directory invocation-name)))
              (copy-sequence process-environment))))
        (set (make-local-variable 'compilation-arguments)
             (list command mode name-function highlight-regexp))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]