1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
;;; 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) (require 'ispell) (setq ispell-program-name (executable-find "hunspell") ispell-dictionary "en_US") (provide 'text) ;;; text.el ends here