doom-get-packages: delete => delq (faster)
This commit is contained in:
parent
545e2a215c
commit
25da22e32e
1 changed files with 5 additions and 6 deletions
|
@ -66,8 +66,7 @@ Be careful not to use it in a loop."
|
|||
(doom-initialize-packages t)
|
||||
(unless (quelpa-setup-p)
|
||||
(error "Could not initialize quelpa"))
|
||||
(delete
|
||||
nil
|
||||
(delq nil
|
||||
(mapcar (lambda (pkgsym)
|
||||
(or (assq pkgsym doom-packages)
|
||||
(list (car (assq pkgsym package-alist)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue