From 095956a745fa44e35f5bab4bfb53ef6b3ccc3f80 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 20 Oct 2025 15:16:05 +0100 Subject: [PATCH] vc-test--with-temp-change: Use write-region * test/lisp/vc/vc-tests/vc-tests.el (vc-test--with-temp-change): Use write-region (bug#79657). --- test/lisp/vc/vc-tests/vc-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/vc/vc-tests/vc-tests.el b/test/lisp/vc/vc-tests/vc-tests.el index 960bc83f357..140926a9263 100644 --- a/test/lisp/vc/vc-tests/vc-tests.el +++ b/test/lisp/vc/vc-tests/vc-tests.el @@ -798,7 +798,7 @@ This checks also `vc-backend' and `vc-responsible-backend'." (with-current-buffer ,buf (activate-change-group ,handle) (insert "bar\n") - (basic-save-buffer) + (write-region nil nil buffer-file-name nil t) ,@body) (cancel-change-group ,handle) (with-current-buffer ,buf