summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-exwm.el
diff options
context:
space:
mode:
Diffstat (limited to 'custom/jao-custom-exwm.el')
-rw-r--r--custom/jao-custom-exwm.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/jao-custom-exwm.el b/custom/jao-custom-exwm.el
index 44da990..635865e 100644
--- a/custom/jao-custom-exwm.el
+++ b/custom/jao-custom-exwm.el
@@ -359,6 +359,7 @@
(defun jao-exwm-pdf-enable-zathura ()
(interactive)
(add-hook 'kill-emacs-query-functions #'jao-exwm-pdf-zathura-close-all t)
+ (setq jao-browse-doc-use-emacs-p nil)
(setq jao-org-open-pdf-fun #'jao-zathura-open-doc)
(setq jao-org-links-pdf-store-fun #'jao-exwm-org-store-zathura-link)
(setq jao-open-doc-fun #'jao-zathura-open-doc))
@@ -367,6 +368,7 @@
(interactive)
(define-key org-mode-map (kbd "C-c o") #'jao-org-org-goto-pdf)
(remove-hook 'kill-emacs-query-functions #'jao-exwm-pdf-zathura-close-all)
+ (setq jao-browse-doc-use-emacs-p t)
(setq jao-org-open-pdf-fun #'jao-find-or-open)
(setq jao-org-links-pdf-store-fun nil)
(setq jao-open-doc-fun #'jao-find-or-open))