summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--custom/jao-custom-pdf.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/jao-custom-pdf.el b/custom/jao-custom-pdf.el
index 4ebd7f1..5e2c27d 100644
--- a/custom/jao-custom-pdf.el
+++ b/custom/jao-custom-pdf.el
@@ -78,6 +78,7 @@
;;;; doc-view
(use-package doc-view
+ :if (jao-is-linux)
:init
(setq doc-view-cache-directory "~/.emacs.d/cache/docview"
doc-view-resolution 110
@@ -95,6 +96,7 @@
(use-package jao-doc-session :demand t)
(use-package jao-doc-view
+ :if (jao-is-linux)
:demand t
:bind (:map doc-view-mode-map
("b" . jao-doc-view-back)