emacs : pdf-tool disable when windows env.

This commit is contained in:
2025-03-16 22:50:21 +09:00
parent 631b54fbcd
commit e335f8e40c

View File

@ -11,6 +11,7 @@
(org-mode . olivetti-mode))
:init (setq olivetti-body-width 0.62))
(unless ON-WINDOWS
(use-package pdf-tools
:straight t
:ensure t
@ -35,7 +36,7 @@
(current-page (number-to-string (pdf-view-current-page))))
(async-shell-command
(format "zathura -P %s \"%s\"" current-page current-file))))
(message "Sent to zathura")))
(message "Sent to zathura"))))
;; Recover last viewed position
(use-package pdf-view-restore