From: Bram Moolenaar Date: Sat, 14 Jan 2006 21:15:59 +0000 (+0000) Subject: updated for version 7.0181 X-Git-Tag: v7.0181~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea8bd73212d19769581ae2a8e150b7314f5ba864;p=vim updated for version 7.0181 --- 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); }