From 9631303159b2520bc36edaf64241af02f9a26715 Mon Sep 17 00:00:00 2001 From: Xinglu Chen Date: Tue, 16 Feb 2021 12:02:11 +0100 Subject: Use mail-header-separator instead of string Applied manually from Signed-off-by: Xinglu Chen --- git-email.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-email.el') 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))))) -- cgit v1.2.3