commit b20b3cf50fe66482d837869fe0a3b5c80f0f9005
parent f7c7084ad5e879859230f4f3542571454037e8ef
Author: Alex Balgavy <alex@balgavy.eu>
Date: Fri, 21 Oct 2022 21:11:58 +0200
emacs: pdf-tools-install has to be in :init use-package section
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -2186,7 +2186,9 @@ A better replacement for DocView:
#+begin_src emacs-lisp
(use-package pdf-tools
- :magic ("%PDF" . pdf-view-mode)
+ :init
+ (pdf-tools-install 'noquery)
+
:custom
(pdf-annot-default-annotation-properties '((t
(label . "Alex Balgavy"))
@@ -2213,8 +2215,6 @@ A better replacement for DocView:
(pdf-view-mode . (lambda () (display-line-numbers-mode 0)))
:config
- (pdf-tools-install :no-query)
-
;; The arrow tooltip does not show properly when jumping to a
;; location. Maybe this is a Mac-only thing. See here:
;; https://github.com/politza/pdf-tools/issues/145