summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-exwm.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-10-29 03:18:55 +0000
committerjao <jao@gnu.org>2025-10-29 03:18:55 +0000
commit75bd2bf7d78fe3c7b6bfeebfa760b02f28fde7d5 (patch)
treec3a3e3237615ecd7e33504a4959a18f54b59dc6d /custom/jao-custom-exwm.el
parent9f59dc8412ecb9e876a0498e31f76ec141916dde (diff)
downloadelibs-75bd2bf7d78fe3c7b6bfeebfa760b02f28fde7d5.tar.gz
elibs-75bd2bf7d78fe3c7b6bfeebfa760b02f28fde7d5.tar.bz2
jao-browse-doc-use-emacs -> jao-pdf-open-in-emacsmain
Diffstat (limited to 'custom/jao-custom-exwm.el')
-rw-r--r--custom/jao-custom-exwm.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/custom/jao-custom-exwm.el b/custom/jao-custom-exwm.el
index 291b78d..5e4a354 100644
--- a/custom/jao-custom-exwm.el
+++ b/custom/jao-custom-exwm.el
@@ -366,7 +366,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 nil)
+ (setq jao-pdf-open-in-emacs 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))
@@ -374,7 +374,7 @@
(defun jao-exwm-pdf-disable-zathura ()
(interactive)
(remove-hook 'kill-emacs-query-functions #'jao-exwm-pdf-zathura-close-all)
- (setq jao-browse-doc-use-emacs t)
+ (setq jao-pdf-open-in-emacs 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))
@@ -385,7 +385,7 @@
(defun jao-exwm-zathura-goto-pdf ()
(interactive)
- (if jao-browse-doc-use-emacs
+ (if jao-pdf-open-in-emacs
(jao-org-goto-pdf)
(when-let (pdf (jao-exwm-org-to-pdf-file))
(jao-zathura-open-doc pdf))))
@@ -393,7 +393,7 @@
(with-eval-after-load "org"
(define-key org-mode-map (kbd "C-c o") #'jao-exwm-zathura-goto-pdf))
-(when (not jao-browse-doc-use-emacs)
+(when (not jao-pdf-open-in-emacs)
(jao-exwm-pdf-enable-zathura))
(defun jao-exwm-select-pdf ()