diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/pdf-view.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/pdf-view.el b/lisp/pdf-view.el index 4a83abf..6b97311 100644 --- a/lisp/pdf-view.el +++ b/lisp/pdf-view.el @@ -331,6 +331,9 @@ PNG images in Emacs buffers." "-")))) (write-region nil nil tempfile nil 'no-message) (setq-local pdf-view--buffer-file-name tempfile))) + ;; Decryption needs to be done before any other function calls into + ;; pdf-info.el . + (pdf-view-decrypt-document) ;; Setup scroll functions (if (boundp 'mwheel-scroll-up-function) ; not --without-x build @@ -385,9 +388,6 @@ PNG images in Emacs buffers." 'pdf-view-new-window-function nil t) (image-mode-setup-winprops) - ;; Decryption needs to be done before any other function calls into - ;; pdf-info.el . - (pdf-view-decrypt-document) ;; Issue a warning in the future about incompatible modes. (run-with-timer 1 nil #'pdf-view-check-incompatible-modes (current-buffer)) |
