Variable: package-native-compile

package-native-compile is a customizable variable defined in package.el.gz.

Value

nil

Documentation

Non-nil means to natively compile packages as part of their installation.

This controls ahead-of-time compilation of packages when they are installed. If this option is nil, packages will be natively compiled when they are loaded for the first time.

This option does not have any effect if Emacs was not built with native compilation support.

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

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/package.el.gz
(defcustom package-native-compile nil
  "Non-nil means to natively compile packages as part of their installation.
This controls ahead-of-time compilation of packages when they are
installed.  If this option is nil, packages will be natively
compiled when they are loaded for the first time.

This option does not have any effect if Emacs was not built with
native compilation support."
  :type '(boolean)
  :risky t
  :version "28.1")