Fix ':built-in prefer' in package!
It was treating 'prefer as truthy, thus preventing packages with it from being installed (like so-long).
This commit is contained in:
parent
4ccb69dbd0
commit
641d4a1b71
1 changed files with 7 additions and 6 deletions
|
@ -232,12 +232,13 @@ elsewhere."
|
|||
nil))))
|
||||
|
||||
;; Handle :built-in
|
||||
(unless ,ignore
|
||||
(when-let (built-in ,built-in)
|
||||
(doom-log "Ignoring built-in package %S" name)
|
||||
(when (eq built-in 'prefer)
|
||||
(setq built-in '(locate-library ,(symbol-name name) nil doom--initial-load-path))))
|
||||
(plist-put! plist :ignore ,built-in))
|
||||
(let ((built-in ,built-in))
|
||||
(unless ,ignore
|
||||
(when built-in
|
||||
(doom-log "Ignoring built-in package %S" name)
|
||||
(when (eq built-in 'prefer)
|
||||
(setq built-in (locate-library (symbol-name name) nil doom--initial-load-path))))
|
||||
(plist-put! plist :ignore built-in)))
|
||||
|
||||
;; DEPRECATED Translate :fetcher to :host
|
||||
(with-plist! plist (recipe)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue