aboutsummaryrefslogtreecommitdiff
path: root/git-email.el
diff options
context:
space:
mode:
Diffstat (limited to 'git-email.el')
-rw-r--r--git-email.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-email.el b/git-email.el
index 2bfe675..0ddf93d 100644
--- a/git-email.el
+++ b/git-email.el
@@ -210,7 +210,8 @@ them into the message buffer."
;; (let ((body (or (re-search-forward "<#part .*>")
;; (re-search-forward "--text follows this line--"))))
(goto-char (point-max))
- (insert diff)))
+ (save-excursion
+ (insert diff))))
(provide 'git-email)