help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: use pdf-tools in Emacs.


From: Tassilo Horn
Subject: Re: use pdf-tools in Emacs.
Date: Fri, 28 Apr 2023 09:15:44 +0200
User-agent: mu4e 1.11.3; emacs 30.0.50

Hongyi Zhao <hongyi.zhao@gmail.com> writes:

>> (use-package pdf-tools
>>   :ensure t
>>   :init
>>   (pdf-tools-install))
>
> I confirm that the above configuration can solve the problem.

There you go.  So the issue was that you've put (pdf-tools-install) in
the :config rather than the :init clause.  That would have called it
when pdf-tools is loaded which never happened because pdf-tools-install
arranges that it will be used when finding a pdf file.

Bye,
Tassilo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]