mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Put comment in right place
This commit is contained in:
@ -1,7 +1,5 @@
|
|||||||
;;; lang/latex/+viewers.el -*- lexical-binding: t; -*-
|
;;; lang/latex/+viewers.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Update PDF buffers after successful LaTeX runs
|
|
||||||
|
|
||||||
(when (featurep! +okular)
|
(when (featurep! +okular)
|
||||||
;; Configure Okular as viewer. Including a bug fix
|
;; Configure Okular as viewer. Including a bug fix
|
||||||
;; (https://bugs.kde.org/show_bug.cgi?id=373855)
|
;; (https://bugs.kde.org/show_bug.cgi?id=373855)
|
||||||
@ -20,4 +18,5 @@
|
|||||||
(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"))
|
||||||
|
;; Update PDF buffers after successful LaTeX runs
|
||||||
(add-hook 'TeX-after-compilation-finished-function #'TeX-revert-document-buffer))
|
(add-hook 'TeX-after-compilation-finished-function #'TeX-revert-document-buffer))
|
||||||
|
Reference in New Issue
Block a user