mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-16 00:51:35 +09:00
emacs : pdf-tool disable when windows env.
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user