summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index b2c99f8..1432dda 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1184,7 +1184,10 @@ This function is intended for use with `ivy-ignore-buffers'."
:config
(cl-delete-if
(lambda (p) (string-match "^---?" (car p)))
- tex--prettify-symbols-alist))
+ tex--prettify-symbols-alist)
+ :hook ((tex-mode . auto-fill-mode)
+ (tex-mode . flyspell-mode)
+ (tex-mode . (lambda () (electric-indent-local-mode -1)))))
;;; Theme