diff options
-rw-r--r-- | git-email.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-email.el b/git-email.el index 6276181..3db1ca3 100644 --- a/git-email.el +++ b/git-email.el @@ -320,7 +320,7 @@ them into the message buffer." ;; Insert diff at the beginning of the body (goto-char (point-min)) (let ((body (or (re-search-forward - "<#part \\(encrypt\\|sign\\)=.*mime>" + "^<#part \\(encrypt\\|sign\\)=.*mime>$" nil t) (re-search-forward (regexp-quote mail-header-separator) nil t)))) (save-excursion |