mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix void-variable targets when using unpin! macro
This commit is contained in:
@ -319,10 +319,10 @@ can be used one of five ways:
|
||||
(unpin! (:lang python javascript) (:tools docker))
|
||||
|
||||
Or any combination of the above."
|
||||
`(progn
|
||||
`(let ((targets ',targets))
|
||||
(put 'doom-pinned-packages 'modified
|
||||
(delete-dups (append targets (get 'doom-pinned-packages 'modified))))
|
||||
(dolist (target ',targets)
|
||||
(dolist (target targets)
|
||||
(cond
|
||||
((eq target t)
|
||||
(setq doom-pinned-packages nil))
|
||||
|
Reference in New Issue
Block a user