diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/jao-custom-exwm.el | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/custom/jao-custom-exwm.el b/custom/jao-custom-exwm.el index 2a38a6c..44da990 100644 --- a/custom/jao-custom-exwm.el +++ b/custom/jao-custom-exwm.el @@ -320,8 +320,8 @@ (when (and (string= exwm-class-name "Zathura") (not jao-doc-view--imenu-file)) (let ((info (jao-zathura--file-info (current-buffer)))) - (jao-doc-view-session-mark (car info)) - (jao-doc-view-save-session) + (jao-doc-session-mark (car info)) + (jao-doc-session-save) (jao-doc-view--enable-imenu (car info) #'jao-zathura-goto-page)))) (add-hook 'exwm-update-title-hook #'jao-exwm--zathura-setup t) @@ -396,11 +396,10 @@ (pop-to-buffer b))) -(let ((viewers ["External viewers" - ("z" "open with zathura" jao-zathura-open-doc) - ("m" "open with mupdf" jao-exwm-open-with-mupdf)])) - (jao-transient-major-mode+ pdf-view viewers) - (jao-transient-major-mode+ doc-view viewers)) +(jao-transient-major-mode+ doc-view + ["External viewers" + ("z" "open with zathura" jao-zathura-open-doc) + ("m" "open with mupdf" jao-exwm-open-with-mupdf)]) ;;; Firefox support (jao-def-exwm-toggler jao-exwm-firefox 5 "Firefox" "firefox") |