Skip to content

Specify package archive with :ensure (t . pin) #543

@toyboot4e

Description

@toyboot4e

Description

Like :pin in use-package, :ensure (t . pin) should pin a package to an archive. The syntax is ready, but the handler is not yet implemented.

Issue leaf-block

Example:

(leaf hoge
  :ensure (t . melpa-stable))

Expected output from macroexpand-1 of the leaf-block

The macro expansion seems like already OK:

(prog1 'hoge
  (leaf-handler-leaf-path hoge)
  (leaf-handler-leaf-protect hoge
      (leaf-handler-package hoge hoge melpa-stable)))

Just the implementations of leaf-handler-package and leaf-options-ensure-default-pin are lacking.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions