summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c
index 9d8f2bf40..882cc50ee 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -8779,7 +8779,7 @@ spell_add_word(word, len, bad, index)
/* If the .add file is edited somewhere, reload it. */
if (buf != NULL)
- buf_reload(buf);
+ buf_reload(buf, buf->b_orig_mode);
redraw_all_later(NOT_VALID);
}