Fix auto-removal of builtin-preferred packges
This commit is contained in:
parent
faeefc1775
commit
b58b5e1d64
1 changed files with 4 additions and 1 deletions
|
@ -101,7 +101,10 @@ See `doom-package-backend' to get backend for currently installed package."
|
|||
(cond ((not (doom-package-registered-p package))
|
||||
(unless noerror
|
||||
(error "%s package is not registered" package)))
|
||||
((eval (doom-package-prop package :built-in))
|
||||
((let ((builtin (eval (doom-package-prop package :built-in) t)))
|
||||
(or (and (eq builtin 'prefer)
|
||||
(locate-library (symbol-name package) nil doom-site-load-path))
|
||||
(eq builtin 't)))
|
||||
'emacs)
|
||||
((doom-package-prop package :recipe)
|
||||
'quelpa)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue