Remove possibility of duplicates in package management functions
This commit is contained in:
parent
84275d312d
commit
e967412687
2 changed files with 3 additions and 2 deletions
|
@ -70,7 +70,8 @@ Be careful not to use it in a loop."
|
|||
(mapcar (lambda (pkgsym)
|
||||
(or (assq pkgsym doom-packages)
|
||||
(list (car (assq pkgsym package-alist)))))
|
||||
(append doom-protected-packages (mapcar 'car doom-packages)))))
|
||||
(cl-delete-duplicates
|
||||
(append doom-protected-packages (mapcar 'car doom-packages))))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-get-dependencies-for (name)
|
||||
|
|
|
@ -205,7 +205,7 @@
|
|||
:m "[t" 'hl-todo-previous
|
||||
;; Navigation
|
||||
:nv "K" 'smart-up
|
||||
:m "gD" 'doom/find-def
|
||||
:m "gD" '+jump/find-definition
|
||||
:n "gf" 'find-file-at-point
|
||||
:n "gp" '+evil/reselect-paste
|
||||
:n "gc" 'evil-commentary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue