summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-05-01 17:36:52 +0300
committerLars Wirzenius <liw@liw.fi>2020-05-01 17:36:52 +0300
commit81cf6e6f031b486091e9cbde04de642694231083 (patch)
tree87afd2658da1bd82931bc0ebaa8af3d6084a5cef
parentbafa1037afef910af2d1b910166a99e54f7a5026 (diff)
downloadliw-dot-files-81cf6e6f031b486091e9cbde04de642694231083.tar.gz
Change: flyspell-mode face for errors
-rw-r--r--emacs.d/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index a1574d5..e5aba48 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -129,8 +129,12 @@
:family "Hack")
;; Turn on flyspell spell checking.
+(require 'flyspell)
(add-hook 'text-mode-hook 'flyspell-mode)
(add-hook 'prog-mode-hook 'flyspell-prog-mode)
+(set-face-attribute 'flyspell-incorrect nil
+ :foreground "#ff0000")
+
;; Show matching parens.
(add-hook 'text-mode-hook 'show-paren-mode)