destructuring-bind => cl-destructuring-bind
This commit is contained in:
parent
c493ad80f4
commit
822c78554f
9 changed files with 10 additions and 10 deletions
|
@ -23,7 +23,7 @@ submodule in the format, e.g. ':feature evil')."
|
|||
(cl-loop for (module . sub) in (reverse (hash-table-keys doom-modules))
|
||||
collect (format "%s %s" module sub))
|
||||
nil t)))
|
||||
(destructuring-bind (category submodule)
|
||||
(cl-destructuring-bind (category submodule)
|
||||
(mapcar #'intern (split-string module " "))
|
||||
(unless (member (cons category submodule) (doom--module-pairs))
|
||||
(error "'%s' isn't a valid module" module))
|
||||
|
|
|
@ -473,7 +473,7 @@ calls."
|
|||
nil t)
|
||||
(user-error "All packages are up to date"))))
|
||||
(list (cdr (assq (car (assoc package package-alist)) packages)))))
|
||||
(destructuring-bind (package old-version new-version) pkg
|
||||
(cl-destructuring-bind (package old-version new-version) pkg
|
||||
(if-let (desc (doom-package-outdated-p package))
|
||||
(let ((old-v-str (package-version-join old-version))
|
||||
(new-v-str (package-version-join new-version)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue