Skip to content

Commit

Permalink
Always auto-revert when opening PDF documents
Browse files Browse the repository at this point in the history
  • Loading branch information
kissge committed Nov 10, 2015
1 parent a4d55be commit 5ccec75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inits/13-docview.el
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(eval-when-compile (require 'doc-view))
(add-hook 'doc-view-mode-hook
(lambda ()
(auto-revert-mode)
(define-key doc-view-mode-map (kbd "j") 'doc-view-next-page)
(define-key doc-view-mode-map (kbd "k") 'doc-view-previous-page)))

0 comments on commit 5ccec75

Please sign in to comment.