mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Revert PDFs without asking
This commit is contained in:
parent
57ec3c7d89
commit
df4858b725
5
init.org
5
init.org
@ -818,7 +818,6 @@
|
|||||||
(use-package pdf-tools
|
(use-package pdf-tools
|
||||||
:defer t
|
:defer t
|
||||||
:mode "\\.pdf\\'"
|
:mode "\\.pdf\\'"
|
||||||
:init (pdf-loader-install)
|
|
||||||
:bind (:map pdf-view-mode-map
|
:bind (:map pdf-view-mode-map
|
||||||
("c" . (lambda ()
|
("c" . (lambda ()
|
||||||
(interactive)
|
(interactive)
|
||||||
@ -826,7 +825,9 @@
|
|||||||
(setq header-line-format nil)
|
(setq header-line-format nil)
|
||||||
(nano-modeline-pdf-mode))))
|
(nano-modeline-pdf-mode))))
|
||||||
("j" . pdf-view-next-line-or-next-page)
|
("j" . pdf-view-next-line-or-next-page)
|
||||||
("k" . pdf-view-previous-line-or-previous-page)))
|
("k" . pdf-view-previous-line-or-previous-page))
|
||||||
|
:init (pdf-loader-install)
|
||||||
|
:config (add-to-list 'revert-without-query ".pdf"))
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user