summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
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)