diff options
| author | Sean Whitton | 2025-10-20 15:16:05 +0100 |
|---|---|---|
| committer | Sean Whitton | 2025-10-20 15:16:05 +0100 |
| commit | 095956a745fa44e35f5bab4bfb53ef6b3ccc3f80 (patch) | |
| tree | ff0951fcf019b8c9a65d48cd4dd63476cb3df47d | |
| parent | fb48f6016e3faa669dbdba59971c17ed391eb88c (diff) | |
| download | emacs-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.el | 2 |
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 |