summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-gnus.el3
-rw-r--r--lisp/init-text.el5
2 files changed, 3 insertions, 5 deletions
diff --git a/lisp/init-gnus.el b/lisp/init-gnus.el
index a4657bc..f0b1c5e 100644
--- a/lisp/init-gnus.el
+++ b/lisp/init-gnus.el
@@ -196,8 +196,7 @@ read. Don't ask to confirm."
footnote-section-tag "")
(add-hook 'message-send-hook 'km/message-confirm-sender)
-(add-hook 'message-mode-hook
- (lambda () (flyspell-mode 1)))
+(add-hook 'message-mode-hook 'flyspell-mode)
(defun km/message-confirm-sender ()
"Stop sending message from the wrong address."
diff --git a/lisp/init-text.el b/lisp/init-text.el
index 2a4e3cd..fd75b1b 100644
--- a/lisp/init-text.el
+++ b/lisp/init-text.el
@@ -1,7 +1,6 @@
-(add-hook 'text-mode-hook (lambda ()
- (abbrev-mode 1)
- (turn-on-auto-fill)))
+(add-hook 'text-mode-hook 'abbrev-mode)
+(add-hook 'text-mode-hook 'turn-on-auto-fill)
(defun km/export-wrapped-text (arg)
"Export the text in current buffer as wrapped text.