summaryrefslogtreecommitdiff
path: root/mailscripts.el
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-12-18 23:00:01 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-12-18 23:20:24 -0700
commit1fe052ae27003e43bf102ceeec019f69288746d8 (patch)
tree1cf951f4469da997b53271f3f7aeae6ec7b2db4c /mailscripts.el
parentdaf4e39d91dbb753bb30723a4a121cc4493d4228 (diff)
downloadmailscripts-1fe052ae27003e43bf102ceeec019f69288746d8.tar.gz
mailscripts.el: prefer insert-file-contents to insert-file in Lisp
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'mailscripts.el')
-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