tools/pdf: don't install pdf-tools on load

Now that pdf-tools-install compiles epdfinfo asynchronously, pdf files
are loaded before it is finished, yielding errors while pdf-view-mode
initializes. There is currently no effective workaround;
pdf-tools-install must be executed manually.
This commit is contained in:
Henrik Lissner 2019-09-15 16:16:46 -04:00
parent e956c0dc5a
commit 4f7bf8b976
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -3,9 +3,6 @@
(use-package! pdf-tools (use-package! pdf-tools
:mode ("\\.pdf\\'" . pdf-view-mode) :mode ("\\.pdf\\'" . pdf-view-mode)
:config :config
(unless noninteractive
(pdf-tools-install))
(map! :map pdf-view-mode-map :gn "q" #'kill-current-buffer) (map! :map pdf-view-mode-map :gn "q" #'kill-current-buffer)
(defun +pdf-cleanup-windows-h () (defun +pdf-cleanup-windows-h ()