summaryrefslogtreecommitdiff
path: root/lisp/text.el
blob: 5e67c39f3e7eb1b08aceacaeed514a9eaa1489c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

;;; Code:
(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)
(provide 'text)
;; text.el ends here