aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Whitton2025-10-20 15:16:05 +0100
committerSean Whitton2025-10-20 15:16:05 +0100
commit095956a745fa44e35f5bab4bfb53ef6b3ccc3f80 (patch)
treeff0951fcf019b8c9a65d48cd4dd63476cb3df47d
parentfb48f6016e3faa669dbdba59971c17ed391eb88c (diff)
downloademacs-095956a745fa44e35f5bab4bfb53ef6b3ccc3f80.tar.gz
emacs-095956a745fa44e35f5bab4bfb53ef6b3ccc3f80.zip
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).
-rw-r--r--test/lisp/vc/vc-tests/vc-tests.el2
1 files changed, 1 insertions, 1 deletions
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'."
798 (with-current-buffer ,buf 798 (with-current-buffer ,buf
799 (activate-change-group ,handle) 799 (activate-change-group ,handle)
800 (insert "bar\n") 800 (insert "bar\n")
801 (basic-save-buffer) 801 (write-region nil nil buffer-file-name nil t)
802 ,@body) 802 ,@body)
803 (cancel-change-group ,handle) 803 (cancel-change-group ,handle)
804 (with-current-buffer ,buf 804 (with-current-buffer ,buf