mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
mf_open(): never fails (except for OOM)
This commit is contained in:
@@ -2488,7 +2488,7 @@ buf_T *open_spellbuf(void)
|
||||
buf->b_spell = true;
|
||||
buf->b_p_swf = true; // may create a swap file
|
||||
if (ml_open(buf) == FAIL) {
|
||||
ELOG("Error opening a new memline");
|
||||
abort();
|
||||
}
|
||||
ml_open_file(buf); // create swap file now
|
||||
|
||||
|
Reference in New Issue
Block a user