diff options
author | jao <jao@gnu.org> | 2022-08-29 02:39:22 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-08-29 02:39:22 +0100 |
commit | 8b8f6252bf71648f39b8af8c98ea2b1c399ef9d5 (patch) | |
tree | 78ca86f8b10360df7434838e992dc0218722ed22 /custom | |
parent | 60773cad28b36360a4704121833e8d99c585b536 (diff) | |
download | elibs-8b8f6252bf71648f39b8af8c98ea2b1c399ef9d5.tar.gz elibs-8b8f6252bf71648f39b8af8c98ea2b1c399ef9d5.tar.bz2 |
new lib: jao-pdf
Diffstat (limited to 'custom')
-rw-r--r-- | custom/jao-custom-exwm.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/custom/jao-custom-exwm.el b/custom/jao-custom-exwm.el index 635865e..1a11cd4 100644 --- a/custom/jao-custom-exwm.el +++ b/custom/jao-custom-exwm.el @@ -1,5 +1,7 @@ ;; -*- lexical-binding: t; -*- +(require 'jao-pdf) + ;;; Load and basic config (defvar jao-exwm--use-afio t) @@ -294,7 +296,7 @@ (defun jao-zathura--file-info (b) (with-current-buffer b - (jao-zathura-file-info (or exwm-title "")))) + (jao-pdf-zathura-file-info (or exwm-title "")))) (defun jao-zathura-goto-page (page-no) (jao-exwm--send-str (format "%sg" page-no))) @@ -353,7 +355,7 @@ (when-let ((info (jao-zathura--file-info (current-buffer)))) (let* ((file-name (car info)) (page (cadr info)) - (desc (jao-doc-view-section-title page file-name))) + (desc (jao-pdf-section-title page file-name))) (jao-org-links-store-pdf-link file-name page desc)))) (defun jao-exwm-pdf-enable-zathura () |