summaryrefslogtreecommitdiff
path: root/lisp/email.el
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2016-11-10 10:52:00 +0100
committerrekado <rekado@elephly.net>2016-11-10 20:21:25 +0100
commitf16daf803ca01c468894188a4da72c0741d8da1f (patch)
tree225109cff61f0d8211f2bc30a6e23d03e5cabf52 /lisp/email.el
parent899ac8e166dd96922f3a1229678e7b8f7d6bab73 (diff)
email: Activate typo-mode after loading it
Diffstat (limited to 'lisp/email.el')
-rw-r--r--lisp/email.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/email.el b/lisp/email.el
index 1fcbf13..baae80f 100644
--- a/lisp/email.el
+++ b/lisp/email.el
@@ -100,7 +100,10 @@
(add-hook 'mu4e-compose-pre-hook 'my-mu4e-set-account)
;; pretty quotes!
-(add-hook 'message-mode-hook 'typo-mode)
+(add-hook 'message-mode-hook
+ (lambda ()
+ (require 'typo)
+ (typo-mode 1)))
(let ((guix "(list:guix-devel@gnu.org OR list:bug-guix@gnu.org OR list:help-guix@gnu.org OR list:guix-sysadmin@gnu.org OR list:guix-security.gnu.org)")
(guile "(list:guile-user@gnu.org OR list:guile-devel@gnu.org OR list:bug-guile@gnu.org)")