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: stefan-husmann
Subject: Re: use pdf-tools in Emacs.
Date: Thu, 27 Apr 2023 13:23:03 +0200
User-agent: mu4e 1.11.3; emacs 30.0.50

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

>
> In fact, I already have the following configuration in my init.el
> file, but it doesn't seem to automatically compile and install
> pdf-tools:
>
> (use-package pdf-tools
>   ;;https://github.com/jwiegley/use-package#magic-handlers
>   :magic ("%PDF" . pdf-view-mode)
>   :config
>   (pdf-tools-install :no-query)
>   ;; C-h o pdf-loader-install RET
>   ;; This function acts as a replacement for ‘pdf-tools-install’ and
>   ;; makes Emacs load and use PDF Tools as soon as a PDF file is
>   ;; opened, but not sooner.
>   ;;(pdf-loader-install)
>   )
>
> Regards,
> Zhao

Indeed this does notinstall anything. use-package is about loading, not 
installing.
Use package.el or straight.el (or any other package manager) for
installing.

Best Regards



reply via email to

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