diff --git a/README.org b/README.org index 53250b3..ebe909d 100644 --- a/README.org +++ b/README.org @@ -198,6 +198,7 @@ not load the ~custom-file~ as [[info:emacs#Saving Customizations][saving customi marginalia ; minibuffer margin notes orderless ; Emacs completion style pdf-tools ; interactive docview replacement + pdf-view-restore ; add view history to pdf-tools pyenv-mode ; Python environment selector quelpa ; install Emacs packages from source vertico)) ; VERTical Interactive Completion @@ -576,6 +577,10 @@ or rebuild the =epdfinfo= executable that serves the [[https://en.wikipedia.org/ (when (fboundp 'pdf-tools-install) (autoload 'pdf-view-mode "pdf-view") (add-to-list 'magic-mode-alist '("%PDF" . pdf-view-mode))) + + (with-eval-after-load 'pdf-tools + (when (fboundp 'pdf-view-restore-mode) + (add-hook 'pdf-view-mode-hook #'pdf-view-restore-mode))) #+end_src * Writing