Variable: purify-flag

purify-flag is a variable defined in alloc.c.

Value

nil

Documentation

Non-nil means loading Lisp code in order to dump an executable.

This used to mean that certain objects should be allocated in shared
(pure) space, but objects are not allocated in pure storage any more.
This flag is still used in a few places, not to decide where objects are allocated, but to know if we're in the preload phase of Emacs's build.

Source Code

// Defined in /usr/src/emacs/src/alloc.c
  DEFVAR_LISP ("purify-flag", Vpurify_flag,
	       doc: /* Non-nil means loading Lisp code in order to dump an executable.
This used to mean that certain objects should be allocated in shared
(pure) space, but objects are not allocated in pure storage any more.
This flag is still used in a few places, not to decide where objects are
allocated, but to know if we're in the preload phase of Emacs's
build.  */);