summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el
index 2c57fd3..aa220fb 100644
--- a/init.el
+++ b/init.el
@@ -257,8 +257,8 @@
((mailcap-user-mime-data
`((jao-icalendar-import-buffer "application/ics")
("emacsclient -e '(jao-icalendar-import-invite \"%s\")'" "application/ics")
- (doc-view-mode "application/pdf" (display-graphic-p))
- ("zathura \"%s\"" "application/pdf")
+ (doc-view-mode "application/.*pdf" (display-graphic-p))
+ ("zathura \"%s\"" "application/.*pdf")
(image-mode "image/.*" (display-graphic-p))
("firefox %s && riverctl set-focused-tags 2" "text/html" jao-river-enabled)
("swayimg \"%s\"" "image/.*" jao-sway-enabled)