diff options
author | Ryan Kavanagh <rak@rak.ac> | 2022-10-29 11:52:22 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2022-10-29 11:52:22 -0400 |
commit | 078b112a63489dc8d27a4e98defa500ef3e6471a (patch) | |
tree | 48d2e665aeed0cc01dee1d41e9d83d68717ec5a2 /dot_emacs | |
parent | move message-citation-line-function to right spot it .emacs (diff) |
make whitespace-cleanup-mail only apply in message-mode
Diffstat (limited to 'dot_emacs')
-rw-r--r-- | dot_emacs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -524,7 +524,7 @@ Otherwise split the current paragraph into one sentence per line." (insert "-- "))))))) :hook ((message-mode . (lambda () (remove-hook 'before-save-hook 'whitespace-cleanup t))) - (before-save . whitespace-cleanup-mail)) + (message-mode . (lambda () (add-hook 'before-save-hook 'whitespace-cleanup-mail nil t)))) :custom (message-citation-line-function 'message-insert-formatted-citation-line) (message-send-mail-function 'message-send-mail-with-sendmail)) |