From 172d6db22c7e491bfad5e03707c305873cb3fcdf Mon Sep 17 00:00:00 2001 From: TEC Date: Tue, 30 Jun 2020 03:14:45 +0800 Subject: [PATCH] add TeX mode enabling fix for emacs 28+ --- config.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.org b/config.org index dd77396..ebaf2b8 100644 --- a/config.org +++ b/config.org @@ -5546,6 +5546,12 @@ Let's face it. Being evil is fun, let's take it as far as we can. (use-package! evil-tex :hook (LaTeX-mode . evil-tex-mode)) #+END_SRC +*** Fixes +In case of Emacs28, +#+BEGIN_SRC emacs-lisp +(when EMACS28+ + (add-hook 'latex-mode-hook #'TeX-latex-mode)) +#+END_SRC ** Python Since I'm using =mypyls=, as suggested in [[file:~/.emacs.d/modules/lang/python/README.org::*Language Server Protocol Support][:lang python LSP support]] I'll tweak the priority of =mypyls=