Variable: compilation-environment

compilation-environment is a customizable variable defined in compile.el.gz.

Value

nil

Documentation

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.

This variable was added, or its default value changed, in Emacs 24.1.

View in manual

Probably introduced at or before Emacs version 22.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
(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."
  :type '(repeat (string :tag "ENVVARNAME=VALUE"))
  :options '(("LANG=C"))
  :version "24.1")