branch: elpa/evil-matchit
commit e828bfdd632049d0dadeeea736fe59958029a669
Author: Xuan Wang <c...@wangxuan.name>
Commit: Xuan Wang <c...@wangxuan.name>

    Make latex plugin also works for AUCTeX too
    
    Emacs now ship AUCTeX by default, so the default mode for latex is now 
provided
    by AUCTeX, named as LaTeX-mode, to replace the old latex-mode provided by
    tex.el.
---
 evil-matchit.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evil-matchit.el b/evil-matchit.el
index 425aee241d..cc74c4c141 100644
--- a/evil-matchit.el
+++ b/evil-matchit.el
@@ -221,7 +221,7 @@ Some modes can be toggle on/off in the hook"
   (evilmi-load-plugin-rules '(markdown-mode) '(markdown))
 
   ;; Latex
-  (evilmi-load-plugin-rules '(latex-mode) '(latex simple))
+  (evilmi-load-plugin-rules '(latex-mode LaTeX-mode) '(latex simple))
 
   ;; Ocaml
   (evilmi-load-plugin-rules '(tuareg-mode) '(simple ocaml))

Reply via email to