summaryrefslogtreecommitdiffstats
path: root/src/bufwrite.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-26 16:41:14 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-26 16:41:14 +0100
commit074fbd413172edc6f4936296a28bf8fd5cdfa38b (patch)
tree1c1f0e8682516840548e2b317e4a929c53ff9250 /src/bufwrite.c
parentc361842f1479a7f7f3e65bfb0e188f2e5d38336e (diff)
patch 9.0.0278: the +wildignore feature is nearly always availablev9.0.0278
Problem: The +wildignore feature is nearly always available. Solution: Graduate +wildignore for consistency.
Diffstat (limited to 'src/bufwrite.c')
-rw-r--r--src/bufwrite.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bufwrite.c b/src/bufwrite.c
index 5db8f2983b..b283b5eb64 100644
--- a/src/bufwrite.c
+++ b/src/bufwrite.c
@@ -1136,10 +1136,8 @@ buf_write(
// If 'backupskip' is not empty, don't make a backup for some files.
dobackup = (p_wb || p_bk || *p_pm != NUL);
-#ifdef FEAT_WILDIGN
if (dobackup && *p_bsk != NUL && match_file_list(p_bsk, sfname, ffname))
dobackup = FALSE;
-#endif
// Save the value of got_int and reset it. We don't want a previous
// interruption cancel writing, only hitting CTRL-C while writing should