mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix auto-removal of builtin-preferred packges
This commit is contained in:
@ -101,7 +101,10 @@ See `doom-package-backend' to get backend for currently installed package."
|
|||||||
(cond ((not (doom-package-registered-p package))
|
(cond ((not (doom-package-registered-p package))
|
||||||
(unless noerror
|
(unless noerror
|
||||||
(error "%s package is not registered" package)))
|
(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)
|
'emacs)
|
||||||
((doom-package-prop package :recipe)
|
((doom-package-prop package :recipe)
|
||||||
'quelpa)
|
'quelpa)
|
||||||
|
Reference in New Issue
Block a user