Variable: initial-environment

initial-environment is a variable defined in callproc.c.

Value

("HOSTNAME=9e24b7f7032c" "HOME=/root" "ELISP_DOC_CACHE_DIR=/workspace/cache/" "https_proxy=http://127.0.0.1:28127" "PATH=/nix/store/emacs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "http_proxy=http://127.0.0.1:28127" "ELISP_DOC_OUTPUT_DIR=/workspace/output/" "EMACSSRC=/workspace/src/" "NO_PROXY=localhost,cn,baidu.com,gitee.com" "HTTPS_PROXY=http://127.0.0.1:28127" "HTTP_PROXY=http://127.0.0.1:28127" "container=podman" "no_proxy=localhost,cn,baidu.com,gitee.com")

Documentation

List of environment variables inherited from the parent process.

Each element should be a string of the form ENVVARNAME=VALUE. The elements must normally be decoded (using locale-coding-system) for use.

Probably introduced at or before Emacs version 23.1.

Source Code

// Defined in /usr/src/emacs/src/callproc.c
  DEFVAR_LISP ("initial-environment", Vinitial_environment,
	       doc: /* List of environment variables inherited from the parent process.
Each element should be a string of the form ENVVARNAME=VALUE.
The elements must normally be decoded (using `locale-coding-system') for use.  */);