[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/compile.el
From: |
John Paul Wallington |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/compile.el |
Date: |
Mon, 28 Jul 2003 12:05:37 -0400 |
Index: emacs/lisp/progmodes/compile.el
diff -c emacs/lisp/progmodes/compile.el:1.275
emacs/lisp/progmodes/compile.el:1.276
*** emacs/lisp/progmodes/compile.el:1.275 Mon Jul 7 16:53:19 2003
--- emacs/lisp/progmodes/compile.el Mon Jul 28 12:05:36 2003
***************
*** 593,598 ****
--- 593,604 ----
and exit message; it returns a cons (MESSAGE . MODELINE) of the strings to
write into the compilation buffer, and to put in its mode line.")
+ (defvar compilation-environment nil
+ "*List of environment variables for compilation to inherit.
+ Each element should be a string of the form ENVVARNAME=VALUE.
+ This list is temporarily prepended to `process-environment' prior to
+ starting the compilation process.")
+
;; History of compile commands.
(defvar compile-history nil)
;; History of grep commands.
***************
*** 1090,1095 ****
--- 1096,1102 ----
(if (not no-async)
(let* ((process-environment
(append
+ compilation-environment
(if (and (boundp 'system-uses-terminfo)
system-uses-terminfo)
(list "TERM=dumb" "TERMCAP="