diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-08-26 15:31:55 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-09-10 13:09:44 +0200 |
commit | bf36b0f8ec35281dd7e7e350d7d5d2810019d402 (patch) | |
tree | ed58d866e04b5a3877be717cd0e868b5177e204b /src/nvim/bufwrite.c | |
parent | 87cde88c41d003988e7d5dbc4ddb26687d24923d (diff) | |
download | rneovim-bf36b0f8ec35281dd7e7e350d7d5d2810019d402.tar.gz rneovim-bf36b0f8ec35281dd7e7e350d7d5d2810019d402.tar.bz2 rneovim-bf36b0f8ec35281dd7e7e350d7d5d2810019d402.zip |
refactor(mch): last mch_ function/macro hits the dust
Also remove some stray comments.
Diffstat (limited to 'src/nvim/bufwrite.c')
-rw-r--r-- | src/nvim/bufwrite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/bufwrite.c b/src/nvim/bufwrite.c index 2796ed1f0b..445e946543 100644 --- a/src/nvim/bufwrite.c +++ b/src/nvim/bufwrite.c @@ -1402,7 +1402,7 @@ int buf_write(buf_T *buf, char *fname, char *sfname, linenr_T start, linenr_T en while ((fd = os_open(wfname, fflags, mode)) < 0) { // A forced write will try to create a new file if the old one // is still readonly. This may also happen when the directory - // is read-only. In that case the mch_remove() will fail. + // is read-only. In that case the os_remove() will fail. if (err.msg == NULL) { #ifdef UNIX FileInfo file_info; |