diff options
author | Michael Reed <m.reed@mykolab.com> | 2015-01-14 00:46:32 -0500 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2015-01-14 15:08:19 -0500 |
commit | cd8e91b87ebda1850c22ea91068b679f7e8af3a4 (patch) | |
tree | a4772d0994b54ab9850a196f8590cc4638971680 /src/nvim/fileio.c | |
parent | d86ebc7afb0f80a597d1361f54e838ce4689e36c (diff) | |
download | rneovim-cd8e91b87ebda1850c22ea91068b679f7e8af3a4.tar.gz rneovim-cd8e91b87ebda1850c22ea91068b679f7e8af3a4.tar.bz2 rneovim-cd8e91b87ebda1850c22ea91068b679f7e8af3a4.zip |
Macro cleanup: HAS_SWAP_EXISTS_ACTION
Neovim always ships with all features[0], so this serves no purpose.
Besides, this always evaluated to true.
[0]: https://github.com/neovim/neovim/wiki/Differences-from-vim
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r-- | src/nvim/fileio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 76f7779eb0..370584b095 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -636,14 +636,12 @@ readfile ( #endif } -#if defined(HAS_SWAP_EXISTS_ACTION) /* If "Quit" selected at ATTENTION dialog, don't load the file */ if (swap_exists_action == SEA_QUIT) { if (!read_buffer && !read_stdin) close(fd); return FAIL; } -#endif ++no_wait_return; /* don't wait for return yet */ |