1

The documentation of package-install says: "Install the package PKG. PKG can be a package-desc [...]", but then it doesn't explain what is the format of a package-desc.

4
  • 2
    Take a look at the definition in package.el. Commented May 19, 2017 at 3:47
  • 1
    Please consider filing an Emacs bug / enhancement request to improve that doc: M-x report-emacs-bug. Users shouldn't have to look at the source code to understand that, presumably.
    – Drew
    Commented May 19, 2017 at 4:05
  • 1
    C-h o package-desc should describe it (and actually "package-desc" in the above docstring should be surrounded with `...' so that you can just click on it to get that info).
    – Stefan
    Commented May 19, 2017 at 13:32
  • @Stefan Yours is an answer. Please post it as such, so that I can choose it. Thanks.
    – Eleno
    Commented May 20, 2017 at 9:23

1 Answer 1

1

C-h o package-desc RET should describe it (and actually "package-desc" in the above docstring should be surrounded with `...' so that you can just click on it to get that info. I already fixed it in Emacs's master branch, so don't bother reporting it, tho).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.