From 9a5905d6b1cec2417777f66570466c81cd14a903 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Tue, 27 Aug 2019 00:18:43 -0400 Subject: [PATCH] emacs: disable typo-mode in tex-mode --- .emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index cc01a13..26d0a0f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1394,7 +1394,8 @@ This function is intended for use with `ivy-ignore-buffers'." :delight " typo" :config (typo-global-mode 1) - :hook ((text-mode erc-mode) . typo-mode)) + :hook (((text-mode erc-mode) . typo-mode) + (tex-mode . (lambda ()(typo-mode -1))))) ;; highlight TODOs in buffers (use-package hl-todo -- 2.20.1