From b0c780b7dd51e7759bed05b569596d76df02891e Mon Sep 17 00:00:00 2001 From: Qianchuan Ye Date: Wed, 16 Oct 2019 15:43:05 -0400 Subject: [PATCH] lang/latex: fix setting variables #1910. --- modules/lang/latex/config.el | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/lang/latex/config.el b/modules/lang/latex/config.el index 58e3417dc..22e6638a2 100644 --- a/modules/lang/latex/config.el +++ b/modules/lang/latex/config.el @@ -27,19 +27,19 @@ If no viewers are found, `latex-preview-pane' is used.") (add-to-list 'auto-mode-alist '("\\.tex\\'" . LaTeX-mode)) +(setq TeX-parse-self t ; parse on load + TeX-auto-save t ; parse on save + ;; use hidden dirs for auctex files + TeX-auto-local ".auctex-auto" + TeX-style-local ".auctex-style" + TeX-source-correlate-mode t + TeX-source-correlate-method 'synctex + ;; don't start the emacs server when correlating sources + TeX-source-correlate-start-server nil + ;; automatically insert braces after sub/superscript in math mode + TeX-electric-sub-and-superscript t) (after! tex - (setq TeX-parse-self t ; parse on load - TeX-auto-save t ; parse on save - ;; use hidden dirs for auctex files - TeX-auto-local ".auctex-auto" - TeX-style-local ".auctex-style" - TeX-source-correlate-mode t - TeX-source-correlate-method 'synctex - ;; don't start the emacs server when correlating sources - TeX-source-correlate-start-server nil - ;; automatically insert braces after sub/superscript in math mode - TeX-electric-sub-and-superscript t) ;; fontify common latex commands (load! "+fontification") ;; select viewer