From 5d28a4f100a5d0bbde482a15e98a4ad1bfbb4868 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 28 Jun 2018 20:42:41 +0200 Subject: [PATCH] Fix invalid-function: PDF Tools error in latex Due to a forgotten quote on a list form. Reported by @xarthurx --- modules/lang/latex/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)))