Add hook to message mode

This commit is contained in:
Case Duckworth 2021-05-03 17:12:24 -05:00
parent 47868840de
commit e4439dad96
1 changed files with 5 additions and 0 deletions

View File

@ -132,6 +132,11 @@
(setq mm-discouraged-alternatives '("text/html"
"text/richtext"))
;;; Composing mail
(hook-defun setup-message-mode message-mode-hook
(flyspell-mode +1)
(local-set-key (kbd "TAB") #'bbdb-complete-mail))
;;; Sending mail
(setq send-mail-function #'smtpmail-send-it
message-send-mail-function #'smtpmail-send-it