summaryrefslogtreecommitdiff
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
authorJoakim Verona <joakim@verona.se>2011-09-08 16:46:33 +0200
committerJoakim Verona <joakim@verona.se>2011-09-08 16:46:33 +0200
commit0e852ac995c1bb7aa059ffface31b7b7c00308ea (patch)
tree9e95988cec1d083ed3bf938546ae7d7f7e5b77b5 /lisp/progmodes/compile.el
parent94110bea46d4a1481b6f2f4e33cf8ce6ac6d8d62 (diff)
parent97f05794552e8415ccc7522017f4dff06f84d1a4 (diff)
downloademacs-0e852ac995c1bb7aa059ffface31b7b7c00308ea.tar.gz
emacs-0e852ac995c1bb7aa059ffface31b7b7c00308ea.tar.bz2
emacs-0e852ac995c1bb7aa059ffface31b7b7c00308ea.zip
upstream
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r--lisp/progmodes/compile.el10
1 files changed, 7 insertions, 3 deletions
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,
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.
+(defcustom 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.")
+starting the compilation process."
+ :type '(repeat (string :tag "ENVVARNAME=VALUE"))
+ :options '(("LANG=C"))
+ :group 'compilation
+ :version "24.1")
;; History of compile commands.
(defvar compile-history nil)