Specifically in the content of exporting org->latex->pdf when using pdftools to view the resulting pdf, how can I stop emacs from asking me if I want to revert the pdf buffer and instead just auto-revert without asking?

I tried:

(add-hook 'pdf-view-mode-hook (lambda () (auto-revert-mode 1)))

and also:

(add-hook 'pdf-tools-enabled-hook (lambda () (auto-revert-mode 1)))

But neither of these had an effect.

  • 2
    See revert-without-query, I suppose. – politza Oct 9 '17 at 19:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.