summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-04-09 16:15:51 +0100
committerjao <jao@gnu.org>2021-04-09 16:15:51 +0100
commit4775d22fd80895029378dce7467cb422570897c6 (patch)
tree86507d65313acfdc317e95386053309e3fb5ba3e
parent3e19bece0fe97593afbedd5b72fada0039487c56 (diff)
downloadelibs-4775d22fd80895029378dce7467cb422570897c6.tar.gz
elibs-4775d22fd80895029378dce7467cb422570897c6.tar.bz2
let eww call docview to display pdfs
-rw-r--r--init.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.org b/init.org
index ebe6580..51465f3 100644
--- a/init.org
+++ b/init.org
@@ -1492,7 +1492,8 @@
(setq doc-view-cache-directory "~/.emacs.d/cache/docview"
doc-view-resolution 110
doc-view-continuous t
- doc-view-conversion-refresh-interval 1))
+ doc-view-conversion-refresh-interval 1)
+ :custom ((mailcap-user-mime-data '((doc-view-mode "application/pdf")))))
(use-package jao-doc-view
:bind (:map doc-view-mode-map