diff options
-rw-r--r-- | git-email.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/git-email.el b/git-email.el index 3db1ca3..7fbce16 100644 --- a/git-email.el +++ b/git-email.el @@ -319,10 +319,9 @@ them into the message buffer." (seq-filter #'git-email--remove-subject used-headers)) ;; Insert diff at the beginning of the body (goto-char (point-min)) - (let ((body (or (re-search-forward - "^<#part \\(encrypt\\|sign\\)=.*mime>$" - nil t) - (re-search-forward (regexp-quote mail-header-separator) nil t)))) + (or (re-search-forward + "^<#part \\(encrypt\\|sign\\)=.*mime>$" 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))))) |