diff --git a/modules/lang/latex/config.el b/modules/lang/latex/config.el index 871ed8372..642ceac8b 100644 --- a/modules/lang/latex/config.el +++ b/modules/lang/latex/config.el @@ -99,8 +99,8 @@ ;; Or PDF-tools, but only if the module is also loaded (when (and (featurep! :tools pdf) - (featurep! +pdf-tools)) - (add-to-list 'TeX-view-program-list ("PDF Tools" "TeX-pdf-tools-sync-view")) + (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")) ;; Enable auto reverting the PDF document with PDF Tools (add-hook 'TeX-after-compilation-finished-functions #'TeX-revert-document-buffer)))