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:
parent
e956c0dc5a
commit
4f7bf8b976
1 changed files with 0 additions and 3 deletions
|
@ -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 ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue