aboutsummaryrefslogtreecommitdiff
path: root/git-email.el
diff options
context:
space:
mode:
Diffstat (limited to 'git-email.el')
-rw-r--r--git-email.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-email.el b/git-email.el
index b84fd25..6276181 100644
--- a/git-email.el
+++ b/git-email.el
@@ -322,7 +322,7 @@ them into the message buffer."
(let ((body (or (re-search-forward
"<#part \\(encrypt\\|sign\\)=.*mime>"
nil t)
- (re-search-forward "--text follows this line--" nil t))))
+ (re-search-forward (regexp-quote mail-header-separator) nil t))))
(save-excursion
(insert (git-email--fontify-using-faces
(git-email--fontify-diff diff)))))