summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-11-20 23:43:58 -0500
committerAmin Bandali <bandali@gnu.org>2019-11-20 23:43:58 -0500
commit93a86536e9ea77bc598fc94cea2d745fef0cdf6e (patch)
treec2cd8ce3753f3f13fda36b4e039fc66286a56314
parentba45b932ef7d0624002a4abec1894a9c0ad9ce91 (diff)
downloadconfigs-93a86536e9ea77bc598fc94cea2d745fef0cdf6e.tar.gz
configs-93a86536e9ea77bc598fc94cea2d745fef0cdf6e.tar.xz
configs-93a86536e9ea77bc598fc94cea2d745fef0cdf6e.zip
emacs: enable flyspell-mode in text-mode
-rw-r--r--.emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index fa18238..82a4002 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1328,7 +1328,8 @@ This function is intended for use with `ivy-ignore-buffers'."
(use-feature text-mode
:bind (:map text-mode-map ("C-*" . b/insert-asterism))
- :hook (text-mode . indicate-buffer-boundaries-left))
+ :hook ((text-mode . indicate-buffer-boundaries-left)
+ (text-mode . flyspell-mode)))
(use-feature conf-mode
:mode "\\.*rc$")