summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-25 15:11:15 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-25 15:11:15 +0100
commit6d4b2f54df5d533eb0794331f38445a6ca5d3a3f (patch)
tree0a6011c47bb9cf12806cb0484016ce6f071fc361 /src/ex_cmds2.c
parent2e6dcbc4450c98bd12faace5d77a65f2afddae44 (diff)
patch 9.0.0263: too many #ifdefsv9.0.0263
Problem: Too many #ifdefs. Solution: Make some functions always available.
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 2de1798b18..a41e0675b7 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -27,10 +27,8 @@ autowrite(buf_T *buf, int forceit)
bufref_T bufref;
if (!(p_aw || p_awa) || !p_write
-#ifdef FEAT_QUICKFIX
// never autowrite a "nofile" or "nowrite" buffer
|| bt_dontwrite(buf)
-#endif
|| (!forceit && buf->b_p_ro) || buf->b_ffname == NULL)
return FAIL;
set_bufref(&bufref, buf);