Variable: initial-environment

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

Value

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

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.

View in manual

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.  */);