diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-25 15:11:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-25 15:11:15 +0100 |
commit | 6d4b2f54df5d533eb0794331f38445a6ca5d3a3f (patch) | |
tree | 0a6011c47bb9cf12806cb0484016ce6f071fc361 /src/fileio.c | |
parent | 2e6dcbc4450c98bd12faace5d77a65f2afddae44 (diff) |
patch 9.0.0263: too many #ifdefsv9.0.0263
Problem: Too many #ifdefs.
Solution: Make some functions always available.
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fileio.c b/src/fileio.c index 7750c525b7..6d063a5ab7 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -514,9 +514,7 @@ readfile( // Create a swap file now, so that other Vims are warned // that we are editing this file. Don't do this for a // "nofile" or "nowrite" buffer type. -#ifdef FEAT_QUICKFIX if (!bt_dontwrite(curbuf)) -#endif { check_need_swap(newfile); // SwapExists autocommand may mess things up @@ -595,9 +593,7 @@ readfile( // Create a swap file now, so that other Vims are warned that we are // editing this file. // Don't do this for a "nofile" or "nowrite" buffer type. -#ifdef FEAT_QUICKFIX if (!bt_dontwrite(curbuf)) -#endif { check_need_swap(newfile); if (!read_stdin && (curbuf != old_curbuf @@ -3407,9 +3403,7 @@ shorten_buf_fname(buf_T *buf, char_u *dirname, int force) char_u *p; if (buf->b_fname != NULL -#ifdef FEAT_QUICKFIX && !bt_nofilename(buf) -#endif && !path_with_url(buf->b_fname) && (force || buf->b_sfname == NULL |