mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
buffer: don't rely on curbuf in BUFEMPTY
This commit is contained in:
@@ -6672,7 +6672,7 @@ void ex_spelldump(exarg_T *eap)
|
||||
set_option_value("spl", dummy, (char *)spl, OPT_LOCAL);
|
||||
xfree(spl);
|
||||
|
||||
if (!BUFEMPTY()) {
|
||||
if (!BUFEMPTY(curbuf)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user