diff options
-rw-r--r-- | init.el | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -841,6 +841,7 @@ | |||
841 | pdf-view-midnight-colors | 841 | pdf-view-midnight-colors |
842 | `(,mm/pdf-view-midnight-foreground . ,mm/pdf-view-midnight-background)) | 842 | `(,mm/pdf-view-midnight-foreground . ,mm/pdf-view-midnight-background)) |
843 | :hook (pdf-view-mode . pdf-view-themed-minor-mode)) | 843 | :hook (pdf-view-mode . pdf-view-themed-minor-mode)) |
844 | (require 'pdf-tools) | ||
844 | 845 | ||
845 | 846 | ||
846 | ;; --------------------------------- | 847 | ;; --------------------------------- |
@@ -851,6 +852,7 @@ | |||
851 | 852 | ||
852 | (use-package nov | 853 | (use-package nov |
853 | :straight t | 854 | :straight t |
855 | :after 'after-init-hook | ||
854 | :config | 856 | :config |
855 | (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) | 857 | (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) |
856 | (setq nov-save-place-file "~/kb/bookmarksEPUB")) | 858 | (setq nov-save-place-file "~/kb/bookmarksEPUB")) |