diff options
author | Case Duckworth | 2021-05-03 17:12:24 -0500 |
---|---|---|
committer | Case Duckworth | 2021-05-03 17:12:24 -0500 |
commit | e4439dad96c9425d6c5713c5076d7c1963e47d11 (patch) | |
tree | 5977223ea0c8d7599c7340e82c9a06227ec30615 | |
parent | Move hooks to a better spot for Gnus Cloud (diff) | |
download | emacs-e4439dad96c9425d6c5713c5076d7c1963e47d11.tar.gz emacs-e4439dad96c9425d6c5713c5076d7c1963e47d11.zip |
Add hook to message mode
-rw-r--r-- | gnus.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnus.el b/gnus.el index 59275fd..540fed4 100644 --- a/gnus.el +++ b/gnus.el | |||
@@ -132,6 +132,11 @@ | |||
132 | (setq mm-discouraged-alternatives '("text/html" | 132 | (setq mm-discouraged-alternatives '("text/html" |
133 | "text/richtext")) | 133 | "text/richtext")) |
134 | 134 | ||
135 | ;;; Composing mail | ||
136 | (hook-defun setup-message-mode message-mode-hook | ||
137 | (flyspell-mode +1) | ||
138 | (local-set-key (kbd "TAB") #'bbdb-complete-mail)) | ||
139 | |||
135 | ;;; Sending mail | 140 | ;;; Sending mail |
136 | (setq send-mail-function #'smtpmail-send-it | 141 | (setq send-mail-function #'smtpmail-send-it |
137 | message-send-mail-function #'smtpmail-send-it | 142 | message-send-mail-function #'smtpmail-send-it |