summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2022-09-07 08:56:28 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2022-09-07 08:56:28 -0400
commitd11f50a7a66ecfbf783b1885aaa41da6dc25c2a9 (patch)
treee16f2f8c820579f1a7ef2aa16eac3188482c6e82 /lisp
parentbdb3bf9f1c8d67d4c76f488ea8b5d29c16d632dc (diff)
Spell check support for text files
Diffstat (limited to 'lisp')
-rw-r--r--lisp/text.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/text.el b/lisp/text.el
index 4e7c410..5e67c39 100644
--- a/lisp/text.el
+++ b/lisp/text.el
@@ -3,6 +3,8 @@
(defun setup-text-mode ()
"Disable word wrap in text mode."
(setq word-wrap t)
+ (require 'flyspell)
+ (flyspell-mode 1)
)
(add-hook 'text-mode-hook 'setup-text-mode)