refactor: remove B_SPELL macro (#26063)

This commit is contained in:
zeertzjq
2023-11-16 11:50:04 +08:00
committed by GitHub
parent bb4b4576e3
commit 931f28841c
4 changed files with 3 additions and 8 deletions

View File

@@ -334,7 +334,7 @@ int ml_open(buf_T *buf)
// Only works when there's a swapfile, otherwise it's done when the file
// is created.
mf_put(mfp, hp, true, false);
if (!buf->b_help && !B_SPELL(buf)) {
if (!buf->b_help && !buf->b_spell) {
(void)mf_sync(mfp, 0);
}