Variable: package-review-policy
package-review-policy is a customizable variable defined in
package.el.gz.
Value
nil
Documentation
Policy to review incoming packages before installing them.
Reviewing a package allows you to read the source code without
installing anything, compare it to previous installations of the package
and read the change log. The default value of nil will install packages
without any additional prompts, while t reviews all packages. By
setting this user option to a list you can also selectively list what
packages and archives to review. For the former, an entry of the
form (archive STRING) will review all packages from the archive
STRING (see package-archives), and an entry of the form (package
SYMBOL) will review packages whose names match SYMBOL. If you prefix
the list with a symbol not, the rules are inverted.
This variable was added, or its default value changed, in Emacs 31.1.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/package.el.gz
(defcustom package-review-policy nil
"Policy to review incoming packages before installing them.
Reviewing a package allows you to read the source code without
installing anything, compare it to previous installations of the package
and read the change log. The default value of nil will install packages
without any additional prompts, while t reviews all packages. By
setting this user option to a list you can also selectively list what
packages and archives to review. For the former, an entry of the
form (archive STRING) will review all packages from the archive
STRING (see `package-archives'), and an entry of the form (package
SYMBOL) will review packages whose names match SYMBOL. If you prefix
the list with a symbol `not', the rules are inverted."
:type package--policy-type
:risky t
:version "31.1")