summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-12 22:18:00 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-12 22:18:00 +0000
commita1956f6b076b269c1c8068157e98e33b63106858 (patch)
tree354d4fd26c9ffc641d61990de48e0e8bb3eb5530 /src/ex_cmds.c
parent17be7e614ede412f01d487ce69ba5641a4ae648b (diff)
downloadvim-a1956f6b076b269c1c8068157e98e33b63106858.zip
updated for version 7.0222
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 87ea2f28a..37cef12a5 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3344,7 +3344,7 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
#ifdef FEAT_DIFF
curwin->w_p_diff = FALSE; /* No 'diff' */
#endif
-#ifdef FEAT_SYN_HL
+#ifdef FEAT_SPELL
curwin->w_p_spell = FALSE; /* No spell checking */
#endif
@@ -4493,9 +4493,9 @@ do_sub(eap)
update_topline();
validate_cursor();
- update_screen(NOT_VALID);
+ update_screen(SOME_VALID);
highlight_match = FALSE;
- redraw_later(NOT_VALID);
+ redraw_later(SOME_VALID);
#ifdef FEAT_FOLDING
curwin->w_p_fen = save_p_fen;