Closed JudicialDomicide closed 3 years ago
A quick and dirty init.el hack resolved this for me.
(delete '("\\.pdf\\'" . default) org-file-apps)
(add-to-list 'org-file-apps
'("\\.pdf\\'" . emacs))
Sure its probably not a great solution for others but it works enough for what I need and allows me to open custom links that are generated [[papers:%l][%l-paper]] and corresponding notes [[notes:%l][%l-notes]]
Will leave open for now incase there is a wider issue.
It sounds like you just need to install use-package
. (https://github.com/jwiegley/use-package)
Thanks John, indeed for some reason when moving to the new Mac setup, I had forgotten to install use-package. Just installed from Melpa and the code in your documentation works. Sorry. I'll close this.
Hi,
I have just started a fresh emacs install and I used to use this code which enabled me to open pdf files within emacs in pdf-tools. (My use case was using org-ref with org-noter)
I have seen your change in the readme to take account for the fact that pdfview is no longer maintained and org-pdftools has took over.
I tried the following code from your instructions
I get a
Symbol's function definition is void: use-package
--debug-init gives the following:
I'd appreciate any help. Thanks.