summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mailscripts.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailscripts.el b/mailscripts.el
index 2bf1534..872414a 100644
--- a/mailscripts.el
+++ b/mailscripts.el
@@ -242,7 +242,7 @@ See also the interactive wrapper command `mailscripts-prepare-patch'."
subject
(if (file-exists-p (car patches))
(with-temp-buffer
- (insert-file (car patches))
+ (insert-file-contents (car patches))
(and-let* ((subject (message-fetch-field "subject")))
(if (cdr patches)
(and (string-match