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.

  • 2
    Take a look at the definition in package.el. – Tianxiang Xiong May 19 '17 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 May 19 '17 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 May 19 '17 at 13:32
  • @Stefan Yours is an answer. Please post it as such, so that I can choose it. Thanks. – Elena May 20 '17 at 9:23
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, privacy policy and cookie policy

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