0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.0222

This commit is contained in:
Bram Moolenaar
2006-03-12 22:18:00 +00:00
parent 17be7e614e
commit a1956f6b07
2 changed files with 5 additions and 5 deletions

View File

@@ -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;

View File

@@ -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.