Don't delete trailing whitespace when composing emails

(since trailing whitespace is semantically meaningful for markdown)
This commit is contained in:
Jeremy Dormitzer 2020-05-09 16:20:35 -04:00
parent 7f45bc0a6c
commit 133123c058

View File

@ -3969,7 +3969,12 @@ Then configure it:
(let* ((msg (mu4e-message-at-point t)))
(if (not msg)
(error "No message at point")
(cdar (mu4e-message-field msg :from)))))))))
(cdar (mu4e-message-field msg :from))))))))
(add-hook 'mu4e-compose-pre-hook
(lambda ()
(set
(make-local-variable '*should-delete-trailing-whitespace*)
nil))))
#+end_src
Support sending attachments from Dired: