Refactor package!'s docstring & add :ignore to it
This commit is contained in:
parent
46c31e7f0a
commit
adf724a6e4
1 changed files with 13 additions and 7 deletions
|
@ -519,13 +519,19 @@ Only use this macro in a module's init.el or packages.el file.
|
||||||
|
|
||||||
Accepts the following properties:
|
Accepts the following properties:
|
||||||
|
|
||||||
:recipe RECIPE Takes a MELPA-style recipe (see `quelpa-recipe' in
|
:recipe RECIPE
|
||||||
`quelpa' for an example); for packages to be installed
|
Takes a MELPA-style recipe (see `quelpa-recipe' in `quelpa' for an example);
|
||||||
from external sources.
|
for packages to be installed from external sources.
|
||||||
:pin ARCHIVE-NAME Instructs ELPA to only look for this package in
|
:pin ARCHIVE-NAME
|
||||||
ARCHIVE-NAME. e.g. \"org\". Ignored if RECIPE is present.
|
Instructs ELPA to only look for this package in ARCHIVE-NAME. e.g. \"org\".
|
||||||
:disable BOOL Do not install this package AND disable its `def-package!' blocks.
|
Ignored if RECIPE is present.
|
||||||
:freeze FORM Do not update this package if FORM is non-nil."
|
:disable BOOL
|
||||||
|
Do not install or update this package AND disable all of its `def-package!'
|
||||||
|
blocks.
|
||||||
|
:ignore FORM
|
||||||
|
Do not install or update this package.
|
||||||
|
:freeze FORM
|
||||||
|
Do not update this package if FORM is non-nil."
|
||||||
(declare (indent defun))
|
(declare (indent defun))
|
||||||
(cond ((memq name doom-disabled-packages) nil)
|
(cond ((memq name doom-disabled-packages) nil)
|
||||||
((let ((disable (plist-get plist :disable)))
|
((let ((disable (plist-get plist :disable)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue