X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.el;h=f1523ac0419c5dac502469339a26fac637502a6f;hp=6d609dba752534438bfca5f3db73fc3d07186879;hb=ea484f0ebf3f25fbc701b061f36e2fe167057cc3;hpb=c004e1e04b9d1b80ea65b26d65a9ec20641cc64c diff --git a/notmuch.el b/notmuch.el index 6d609dba..f1523ac0 100644 --- a/notmuch.el +++ b/notmuch.el @@ -464,11 +464,15 @@ which this thread was originally shown." (let ((beg (point-marker))) (re-search-forward notmuch-show-part-end-regexp) (let ((end (copy-marker (match-beginning 0)))) + (goto-char end) + (if (not (bolp)) + (insert "\n")) (indent-rigidly beg end depth) (notmuch-show-markup-citations-region beg end depth) ; Advance to the next part (if any) (so the outer loop can ; determine whether we've left the current message. - (re-search-forward notmuch-show-part-begin-regexp nil t)))) + (if (re-search-forward notmuch-show-part-begin-regexp nil t) + (beginning-of-line))))) (goto-char end))) (defun notmuch-show-markup-parts-region (beg end depth)