]> git.notmuchmail.org Git - notmuch/commit
Put signatures at the very end of the message
authorDirk Hohndel <hohndel@infradead.org>
Mon, 26 Apr 2010 17:41:49 +0000 (10:41 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 26 Apr 2010 23:37:47 +0000 (16:37 -0700)
commit56cbff29887420a649e36a69af1ae2ab70fdd8b5
tree54210f1fb387e386846bdb5d9f9ef52ccfaeab2d
parentda9304769f59b55ea8ba2b63105b47a69450fad8
Put signatures at the very end of the message

The existing code inserts the signature before inserting the message
body (which it puts at the very end of the buffer - therefore AFTER
the signature). This little snippet makes us search backwards and
insert the message body before a signature, if it exists.

This also fixes a small indentation issue in David's code.

Signed-off-by: Dirk Hohndel <hohndel@infradead.org>
emacs/notmuch-mua.el