Variable: process-environment
process-environment is a variable defined in callproc.c.
Value
("TEXINPUTS=.:/root/.emacs.d/elpa/auctex-14.1.2/latex:" "LC_ALL" "HOSTNAME=8d2463decca0" "HOME=/root" "PATH=/nix/store/emacs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "EMACSSRC=/workspace/src/" "https_proxy=http://127.0.0.1:28127" "ELISP_DOC_OUTPUT_DIR=/workspace/output/" "HTTP_PROXY=http://127.0.0.1:28127" "http_proxy=http://127.0.0.1:28127" "ELISP_DOC_CACHE_DIR=/workspace/cache/" "NO_PROXY=localhost,cn,baidu.com,gitee.com" "HTTPS_PROXY=http://127.0.0.1:28127" "no_proxy=localhost,cn,baidu.com,gitee.com" "container=podman")
Documentation
List of overridden environment variables for subprocesses to inherit.
Each element should be a string of the form ENVVARNAME=VALUE.
Entries in this list take precedence to those in the frame-local
environments. Therefore, let-binding process-environment is an easy
way to temporarily change the value of an environment variable,
irrespective of where it comes from. To use process-environment to
remove an environment variable, include only its name in the list,
without "=VALUE".
This variable is set to nil when Emacs starts.
If multiple entries define the same variable, the first one always takes precedence.
Non-ASCII characters are encoded according to the initial value of
locale-coding-system, i.e. the elements must normally be decoded for
use.
Probably introduced at or before Emacs version 18.
Source Code
// Defined in /usr/src/emacs/src/callproc.c
DEFVAR_LISP ("process-environment", Vprocess_environment,
doc: /* List of overridden environment variables for subprocesses to inherit.
Each element should be a string of the form ENVVARNAME=VALUE.
Entries in this list take precedence to those in the frame-local
environments. Therefore, let-binding `process-environment' is an easy
way to temporarily change the value of an environment variable,
irrespective of where it comes from. To use `process-environment' to
remove an environment variable, include only its name in the list,
without "=VALUE".
This variable is set to nil when Emacs starts.
If multiple entries define the same variable, the first one always
takes precedence.
Non-ASCII characters are encoded according to the initial value of
`locale-coding-system', i.e. the elements must normally be decoded for
use.
See `setenv' and `getenv'. */);