summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-01-14 21:15:59 +0000
committerBram Moolenaar <Bram@vim.org>2006-01-14 21:15:59 +0000
commitea8bd73212d19769581ae2a8e150b7314f5ba864 (patch)
tree131bdb13bf069a0360ec437cbd6c200c6dc65f24 /src/spell.c
parenta40ceaf88a6e2fbea7022dd84cd8dd5d903699e7 (diff)
downloadvim-git-ea8bd73212d19769581ae2a8e150b7314f5ba864.tar.gz
updated for version 7.0181
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);
}