Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoload: pdf-sync.elc failed to define function pdf-tools #253

Open
mandarm opened this issue Jan 30, 2024 · 0 comments
Open

autoload: pdf-sync.elc failed to define function pdf-tools #253

mandarm opened this issue Jan 30, 2024 · 0 comments

Comments

@mandarm
Copy link

mandarm commented Jan 30, 2024

Not sure if I'm doing something silly, but I get the following error on opening a PDF file for the first time.

File mode specification error: (error Autoloading file ..../.emacs.d/elpa/
     pdf-tools-20230611.239/pdf-sync.elc failed to define function pdf-tools)

Steps for reproducing, starting with emacs -Q

(package-initialize)
(require 'use-package)
(use-package pdf-tools  :mode "\\.pdf\\'")

And then open a pdf file. I get the error, and the contents of the PDF file are displayed as plain text in Fundamental mode.

In my "real" setup (emacs startup with usual init file), the error is displayed, but as far as I can tell, no other functionality seems to be affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant