summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-07-01 15:33:39 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-07-01 15:35:34 -0400
commita5264628998dc81e677ad7caebb85d18cc61c7c6 (patch)
tree8156d09a9c78a12cb61c2e3c2d6895568f166076 /init
parent2183d6c14f2c748e994e8c4ac2869c6a66b3af9c (diff)
downloademacs.d-a5264628998dc81e677ad7caebb85d18cc61c7c6.tar.gz
check messages with flyspell instead of send-hook
Diffstat (limited to 'init')
-rw-r--r--init/km-gnus.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/init/km-gnus.el b/init/km-gnus.el
index 98138b3..c387d02 100644
--- a/init/km-gnus.el
+++ b/init/km-gnus.el
@@ -55,7 +55,9 @@
(setq gnus-visible-headers
'("^From" "^Subject" "^Date" "^To" "^Cc" "^User-Agent"))
-(add-hook 'message-send-hook 'ispell-message)
+(add-hook 'message-mode-hook
+ '(lambda ()
+ (flyspell-mode 1)))
(setq gnus-confirm-mail-reply-to-news t)