aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d
diff options
context:
space:
mode:
authorThomas Schneider <qsx@chaotikum.eu>2019-12-23 19:20:13 +0100
committerThomas Schneider <qsx@chaotikum.eu>2019-12-23 19:20:13 +0100
commite43a6a37259308cab744f0296e092629ade139b3 (patch)
treef44cdf15041fda9498934b0b472c00e8c21ca3c7 /dot.emacs.d
parent30849368c34af2c69a50ac6dd9213ab686d42218 (diff)
Emacs: Simplify pdf-tools check
Diffstat (limited to 'dot.emacs.d')
-rw-r--r--dot.emacs.d/init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index f5b262e..ef812cc 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -205,8 +205,9 @@
(add-hook 'eshell-mode-hook #'qsx-dont-show-line-numbers-hook)
(use-package pdf-tools
- :if (display-graphic-p)
- :unless (eq system-type 'darwin)
+ :if (and
+ (display-graphic-p)
+ (not (eq system-type 'darwin)))
:config
(pdf-tools-install)
(setq-default pdf-view-display-size 'fit-page)