mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix regression
This commit is contained in:
@ -1,7 +1,6 @@
|
|||||||
;;; lang/latex/+viewers.el -*- lexical-binding: t; -*-
|
;;; lang/latex/+viewers.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Update PDF buffers after successful LaTeX runs
|
;; Update PDF buffers after successful LaTeX runs
|
||||||
(add-hook 'TeX-after-compilation-finished-function #'TeX-revert-document-buffer)
|
|
||||||
|
|
||||||
(when (featurep! +okular)
|
(when (featurep! +okular)
|
||||||
;; Configure Okular as viewer. Including a bug fix
|
;; Configure Okular as viewer. Including a bug fix
|
||||||
@ -20,4 +19,5 @@
|
|||||||
;; 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-selection '(output-pdf "PDF Tools")))
|
(add-to-list 'TeX-view-program-selection '(output-pdf "PDF Tools"))
|
||||||
|
(add-hook 'TeX-after-compilation-finished-function #'TeX-revert-document-buffer))
|
||||||
|
Reference in New Issue
Block a user