tools/pdf: run pdf-tools-install-noverify after init
This commit is contained in:
parent
a7e288c191
commit
62711489df
1 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
;;; tools/pdf/config.el -*- lexical-binding: t; -*-
|
;;; tools/pdf/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(use-package! pdf-tools
|
(use-package! pdf-tools
|
||||||
:mode ("\\.pdf\\'" . pdf-view-mode)
|
:mode ("\\.[pP][dD][fF]\\'" . pdf-view-mode)
|
||||||
|
:magic ("%PDF" . pdf-view-mode)
|
||||||
:config
|
:config
|
||||||
(map! :map pdf-view-mode-map :gn "q" #'kill-current-buffer)
|
(map! :map pdf-view-mode-map :gn "q" #'kill-current-buffer)
|
||||||
|
|
||||||
|
@ -67,4 +68,8 @@
|
||||||
;; because the compilation buffer is focused, not the pdf buffer.
|
;; because the compilation buffer is focused, not the pdf buffer.
|
||||||
;; Therefore, it is imperative that the window config is restored.
|
;; Therefore, it is imperative that the window config is restored.
|
||||||
(when (file-executable-p pdf-info-epdfinfo-program)
|
(when (file-executable-p pdf-info-epdfinfo-program)
|
||||||
(set-window-configuration wconf)))))
|
(set-window-configuration wconf))))
|
||||||
|
|
||||||
|
;; Sets up `pdf-tools-enable-minor-modes', `pdf-occur-global-minor-mode' and
|
||||||
|
;; `pdf-virtual-global-minor-mode'.
|
||||||
|
(pdf-tools-install-noverify))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue