Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions leaf.el
Original file line number Diff line number Diff line change
Expand Up @@ -1119,10 +1119,12 @@ SPEC is a list of the form (PKG OPTIONS REVISION)"
(let ((pkg (nth 0 spec))
(opts (nth 1 spec))
(rev (nth 2 spec)))
`(unless (package-installed-p ',pkg)
(package-vc-install
',(if opts `(,pkg ,@opts) pkg)
,rev))))
`(progn
(leaf-safe-push ',pkg package-selected-packages 'no-dup)
(unless (package-installed-p ',pkg)
(package-vc-install
',(if opts `(,pkg ,@opts) pkg)
,rev)))))

(defmacro leaf-handler-auth (name sym store)
"Handler auth-* to set SYM of NAME from STORE."
Expand Down