fuxialexander / org-pdftools

A custom org link type for pdf-tools
GNU General Public License v3.0
335 stars 36 forks source link

Add to README/Usage "requires :ensure t" in use-package section. #39

Closed wilya7 closed 3 years ago

wilya7 commented 4 years ago

Concerning the readme, without :ensure t use-package would give me an error and would not load org-note-pdftools.

TimQuelch commented 4 years ago

This is nothing to do with this package.

use-package is not a package manager. Having a use-package statement does not automatically install the package, this must be done with the package functions. use-package includes :ensure to automatically ensure that the package is installed as well. Therefore if you don't want to manually install packages using package-install, you must include :ensure t in the use package statement or set use-package-always-ensure to t.

wilya7 commented 4 years ago

I understand that, and I appreciate the clear explanation you provided. I opened an issue mainly referring to the readme file. As it has a section specifically describing the installation with use-package, I suggest that it would be useful to include also that part of the configuration. I changed the description accordingly, as I realize now that it was not clear what I was asking.