From 4f7bf8b976f88d08a62c40e5b605a51876676fb9 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 15 Sep 2019 16:16:46 -0400 Subject: [PATCH] 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. --- modules/tools/pdf/config.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/tools/pdf/config.el b/modules/tools/pdf/config.el index f57211695..ed4e36afd 100644 --- a/modules/tools/pdf/config.el +++ b/modules/tools/pdf/config.el @@ -3,9 +3,6 @@ (use-package! pdf-tools :mode ("\\.pdf\\'" . pdf-view-mode) :config - (unless noninteractive - (pdf-tools-install)) - (map! :map pdf-view-mode-map :gn "q" #'kill-current-buffer) (defun +pdf-cleanup-windows-h ()