summaryrefslogtreecommitdiffstats
path: root/.emacs.d
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-08-27 00:18:43 -0400
committerAmin Bandali <bandali@gnu.org>2019-08-27 01:38:32 -0400
commit9a5905d6b1cec2417777f66570466c81cd14a903 (patch)
tree42d1bb2fc0519a4333f154767a4f864405c24b5a /.emacs.d
parenta33abe1445864ed5b044d0bca938ee9b44430a5d (diff)
downloadconfigs-9a5905d6b1cec2417777f66570466c81cd14a903.tar.gz
configs-9a5905d6b1cec2417777f66570466c81cd14a903.tar.xz
configs-9a5905d6b1cec2417777f66570466c81cd14a903.zip
emacs: disable typo-mode in tex-mode
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
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