From 1fe052ae27003e43bf102ceeec019f69288746d8 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 18 Dec 2022 23:00:01 -0700 Subject: mailscripts.el: prefer insert-file-contents to insert-file in Lisp Signed-off-by: Sean Whitton --- mailscripts.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mailscripts.el') 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 -- cgit v1.2.3