aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/compile.el10
2 files changed, 12 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c314cdf201d..6d64950d64b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-09-08 Juri Linkov <juri@jurta.org>
2
3 * progmodes/compile.el (compilation-environment): Make it
4 a defcustom (bug#8340).
5
12011-09-08 Martin Rudalics <rudalics@gmx.at> 62011-09-08 Martin Rudalics <rudalics@gmx.at>
2 7
3 * window.el (frame-auto-delete): Rename to window-auto-delete. 8 * window.el (frame-auto-delete): Rename to window-auto-delete.
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 4871c980fb5..cd891a8df60 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -637,11 +637,15 @@ This should be a function of three arguments: process status, exit status,
637and exit message; it returns a cons (MESSAGE . MODELINE) of the strings to 637and exit message; it returns a cons (MESSAGE . MODELINE) of the strings to
638write into the compilation buffer, and to put in its mode line.") 638write into the compilation buffer, and to put in its mode line.")
639 639
640(defvar compilation-environment nil 640(defcustom compilation-environment nil
641 "*List of environment variables for compilation to inherit. 641 "List of environment variables for compilation to inherit.
642Each element should be a string of the form ENVVARNAME=VALUE. 642Each element should be a string of the form ENVVARNAME=VALUE.
643This list is temporarily prepended to `process-environment' prior to 643This list is temporarily prepended to `process-environment' prior to
644starting the compilation process.") 644starting the compilation process."
645 :type '(repeat (string :tag "ENVVARNAME=VALUE"))
646 :options '(("LANG=C"))
647 :group 'compilation
648 :version "24.1")
645 649
646;; History of compile commands. 650;; History of compile commands.
647(defvar compile-history nil) 651(defvar compile-history nil)