mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Auctex already supports pdf tools
This commit is contained in:
@ -97,7 +97,6 @@
|
|||||||
;; Or PDF-tools, but only if the module is also loaded
|
;; Or PDF-tools, but only if the module is also loaded
|
||||||
(when (and (featurep! :tools pdf)
|
(when (and (featurep! :tools pdf)
|
||||||
(featurep! +pdf-tools))
|
(featurep! +pdf-tools))
|
||||||
(add-to-list 'TeX-view-program-list '("PDF Tools" "TeX-pdf-tools-sync-view"))
|
|
||||||
(add-to-list 'TeX-view-program-selection '(output-pdf "PDF Tools"))
|
(add-to-list 'TeX-view-program-selection '(output-pdf "PDF Tools"))
|
||||||
;; Enable auto reverting the PDF document with PDF Tools
|
;; Enable auto reverting the PDF document with PDF Tools
|
||||||
(add-hook 'TeX-after-compilation-finished-functions #'TeX-revert-document-buffer)))
|
(add-hook 'TeX-after-compilation-finished-functions #'TeX-revert-document-buffer)))
|
||||||
|
Reference in New Issue
Block a user