From: Amin Bandali Date: Tue, 27 Aug 2019 04:18:43 +0000 (-0400) Subject: emacs: disable typo-mode in tex-mode X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/9a5905d6b1cec2417777f66570466c81cd14a903?ds=sidebyside;hp=a33abe1445864ed5b044d0bca938ee9b44430a5d emacs: disable typo-mode in tex-mode --- 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