mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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 ()
|
||||
|
Reference in New Issue
Block a user