summaryrefslogtreecommitdiff
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
parenta40ceaf88a6e2fbea7022dd84cd8dd5d903699e7 (diff)
downloadvim-git-ea8bd73212d19769581ae2a8e150b7314f5ba864.tar.gz
updated for version 7.0181
-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);
}