Fix void-variable targets when using unpin! macro
This commit is contained in:
parent
4dc01912f1
commit
c6518498b9
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue