My init.el
file includes the line (pdf-tools-install)
Recently whenever I open emacs I get the message
"Need to (re)build the epdfinfo program, do it now" (y or n)
which is rather annoying.
I can't quite work out what to do in order to stop this from happening, and I can swear I remember this was not an issue when I originally set up pdf-tools. Has anyone come across this before, and/or know what to do?
y
and everything was fine. What happens when you pressy
?y
and thankfully everything compiles nicely. However, I would prefer to avoid having to pressy
and wait ~10 seconds to start using emacs.M-x pdf-info-check-epdfinfo
. Probably you can fix the problem yourself with the error message emitted by that command. Otherwise add the error message to your question. Maybe, you should runM-x pdf-info-check-epdfinfo
before runningpdf-tools-install
. One possible reason forpdf-tools-install
to fail is a wrong configuration ofpdf-info-epdfinfo-program
. If that is the case just delete any customization of that variable.