From 581536396f9d3a5623fcd27bd226d612c6a1c7b6 Mon Sep 17 00:00:00 2001 From: Patrick Elliott Date: Wed, 18 Jul 2018 14:04:23 +0200 Subject: [PATCH] Tell emacs how to parse tex files --- modules/lang/latex/config.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/lang/latex/config.el b/modules/lang/latex/config.el index f967e77c5..783c7731e 100644 --- a/modules/lang/latex/config.el +++ b/modules/lang/latex/config.el @@ -36,6 +36,9 @@ (setq-default TeX-master nil) ;; set-up chktex (setcar (cdr (assoc "Check" TeX-command-list)) "chktex -v6 -H %s") + ;; tell emacs how to parse tex files + (add-hook! 'tex-mode-hook + (lambda () (setq ispell-parser 'tex))) ;; display output of latex commands in popup (set-popup-rule! " output\\*$" :size 15) ;; Do not prompt for Master files, this allows auto-insert to add templates to