Variable: package-enable-at-startup

package-enable-at-startup is a customizable variable defined in package.el.gz.

Value

t

Documentation

Whether to make installed packages available when Emacs starts.

If non-nil, packages are made available before reading the init file (but after reading the early init file). This means that if you wish to set this variable, you must do so in the early init file. Regardless of the value of this variable, packages are not made available if user-init-file is nil (e.g. Emacs was started with "-q").

Even if the value is nil, you can type M-x package-initialize (package-initialize) to make installed packages available at any time, or you can call (package-activate-all) in your init-file.

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

View in manual

Probably introduced at or before Emacs version 24.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/package.el.gz
;;; Customization options

;;;###autoload
(defcustom package-enable-at-startup t
  "Whether to make installed packages available when Emacs starts.
If non-nil, packages are made available before reading the init
file (but after reading the early init file).  This means that if
you wish to set this variable, you must do so in the early init
file.  Regardless of the value of this variable, packages are not
made available if `user-init-file' is nil (e.g. Emacs was started
with \"-q\").

Even if the value is nil, you can type \\[package-initialize] to
make installed packages available at any time, or you can
call (package-activate-all) in your init-file."
  :type 'boolean
  :version "24.1")