]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.0222
authorBram Moolenaar <Bram@vim.org>
Sun, 12 Mar 2006 22:18:00 +0000 (22:18 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 12 Mar 2006 22:18:00 +0000 (22:18 +0000)
src/ex_cmds.c
src/memline.c

index 87ea2f28a55926ca59f2a8334c937868e44bcbd8..37cef12a5ed15cf9991b3c4d98467c28ac789e26 100644 (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;
index 876704a8ab3243719fb7b7d73a6e6796ddabebfc..6dc23f4e052bfe1c81f54ac31090c131331692d1 100644 (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.