]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: Sort headers when composing
authorDavid Edmondson <dme@dme.org>
Mon, 26 Apr 2010 11:22:40 +0000 (12:22 +0100)
committerCarl Worth <cworth@cworth.org>
Mon, 26 Apr 2010 14:15:50 +0000 (07:15 -0700)
Always sort the headers in the message composition window.

emacs/notmuch-mua.el

index e9b76f103c01d832bb3bd9eaae84dba047f28f4e..fcdd2d14784727af51a8d16fc3b44eee5a4bb5c3 100644 (file)
 
   (message-mail to subject other-headers continue
                switch-function yank-action send-actions)
 
   (message-mail to subject other-headers continue
                switch-function yank-action send-actions)
+  (message-sort-headers)
   (message-hide-headers))
 
 (defun notmuch-mua-send-and-exit (&optional arg)
   (message-hide-headers))
 
 (defun notmuch-mua-send-and-exit (&optional arg)