From 074fbd413172edc6f4936296a28bf8fd5cdfa38b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 26 Aug 2022 16:41:14 +0100 Subject: patch 9.0.0278: the +wildignore feature is nearly always available Problem: The +wildignore feature is nearly always available. Solution: Graduate +wildignore for consistency. --- src/bufwrite.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/bufwrite.c') 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 -- cgit v1.2.3