diff options
author | vimboss <devnull@localhost> | 2006-03-12 22:18:00 +0000 |
---|---|---|
committer | vimboss <devnull@localhost> | 2006-03-12 22:18:00 +0000 |
commit | 0d9be6eaba61aeccf882c1f245a6a528173492d6 (patch) | |
tree | 354d4fd26c9ffc641d61990de48e0e8bb3eb5530 | |
parent | 653c04068e3c4d541f936cc5637ade87149b706d (diff) | |
download | vim-0d9be6eaba61aeccf882c1f245a6a528173492d6.tar.gz |
updated for version 7.0222
-rw-r--r-- | src/ex_cmds.c | 6 | ||||
-rw-r--r-- | src/memline.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 87ea2f28..37cef12a 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; diff --git a/src/memline.c b/src/memline.c index 876704a8..6dc23f4e 100644 --- a/src/memline.c +++ b/src/memline.c @@ -524,7 +524,7 @@ ml_open_file(buf) if (mfp == NULL || mfp->mf_fd >= 0 || !buf->b_p_swf) return; /* nothing to do */ -#ifdef FEAT_SYN_HL +#ifdef FEAT_SPELL /* For a spell buffer use a temp file name. */ if (buf->b_spell) { @@ -2124,7 +2124,7 @@ ml_append(lnum, line, len, newfile) return ml_append_int(curbuf, lnum, line, len, newfile, FALSE); } -#if defined(FEAT_SYN_HL) || defined(PROTO) +#if defined(FEAT_SPELL) || defined(PROTO) /* * Like ml_append() but for an arbitrary buffer. The buffer must already have * a memline. |