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