3

I use emacs with AUCTeX for editing tex files. I also use flycheck for some other programming language.

How to disable flycheck in TeX mode ? I tried called flycheck-mode nil in the latex hook but it doesn't work.

Denis Bitouzé
  • 398
  • 2
  • 14
Welgriv
  • 67
  • 1
  • 9
  • 1
    This might help https://emacs.stackexchange.com/questions/21042/disable-minor-mode-in-major-mode – andrej Jan 09 '19 at 13:41

1 Answers1

4

Short answer from here :

Add it to your .emacs, after flycheck initialisations : (setq flycheck-global-modes '(not LaTeX-mode latex-mode))

Welgriv
  • 67
  • 1
  • 9