mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 17:58:18 +00:00
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
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user