mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
vim-patch:9.0.0263: too many #ifdefs
Problem: Too many #ifdefs. Solution: Make some functions always available.6d4b2f54df
N/A patches for version.c: vim-patch:9.0.0262: build failure without the +quickfix feature Problem: Build failure without the +quickfix feature. Solution: Add #ifdef.2e6dcbc445
vim-patch:9.0.0266: compiler warning for unused argument Problem: Compiler warning for unused argument. Solution: Add UNUSED.340dafd155
vim-patch:9.0.0268: build error without the +eval feature Problem: Build error without the +eval feature. Solution: Remove #ifdef.0166e398d1
This commit is contained in:
@@ -1880,8 +1880,7 @@ int do_write(exarg_T *eap)
|
||||
// Writing to the current file is not allowed in readonly mode
|
||||
// and a file name is required.
|
||||
// "nofile" and "nowrite" buffers cannot be written implicitly either.
|
||||
if (!other && (bt_dontwrite_msg(curbuf)
|
||||
|| check_fname() == FAIL
|
||||
if (!other && (bt_dontwrite_msg(curbuf) || check_fname() == FAIL
|
||||
|| check_readonly(&eap->forceit, curbuf))) {
|
||||
goto theend;
|
||||
}
|
||||
|
Reference in New Issue
Block a user