summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-exwm.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-19 19:13:01 +0100
committerjao <jao@gnu.org>2022-08-19 19:13:01 +0100
commit4178d58c6d06341a34ae199c61f66133e49adbe6 (patch)
treedc0f2bb0e77767b8afb1472914059372bf33dc02 /custom/jao-custom-exwm.el
parent978e055d5fdbca75cb0345be181e2b8d260c4b2d (diff)
downloadelibs-4178d58c6d06341a34ae199c61f66133e49adbe6.tar.gz
elibs-4178d58c6d06341a34ae199c61f66133e49adbe6.tar.bz2
nit
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))