]> granicus.if.org Git - vim/commitdiff
updated for version 7.2b-016 v7.2b.016
authorBram Moolenaar <Bram@vim.org>
Thu, 24 Jul 2008 16:45:38 +0000 (16:45 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 24 Jul 2008 16:45:38 +0000 (16:45 +0000)
src/eval.c
src/ex_cmds.c
src/ex_docmd.c
src/option.c
src/quickfix.c
src/version.c

index bb250449488984de59158533e2b5a3a44d19f52d..fbc33dd9b6c03e16f581b0e26b714d5699f5e3ea 100644 (file)
@@ -18073,7 +18073,6 @@ get_vim_var_nr(idx)
     return vimvars[idx].vv_nr;
 }
 
-#if defined(FEAT_AUTOCMD) || defined(PROTO)
 /*
  * Get string v: variable value.  Uses a static buffer, can only be used once.
  */
@@ -18083,7 +18082,6 @@ get_vim_var_str(idx)
 {
     return get_tv_string(&vimvars[idx].vv_tv);
 }
-#endif
 
 /*
  * Set v:count, v:count1 and v:prevcount.
index 760533d7a441115c20f8fafdbc20de57b3b2ea69..0f8af0515174cd921d0b08b7656da9713f3016da 100644 (file)
@@ -3141,10 +3141,11 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
 #ifdef FEAT_BROWSE
        if (cmdmod.browse)
        {
+# ifdef FEAT_AUTOCMD
            if (
-# ifdef FEAT_GUI
+#  ifdef FEAT_GUI
                !gui.in_use &&
-# endif
+#  endif
                    au_has_group((char_u *)"FileExplorer"))
            {
                /* No browsing supported but we do have the file explorer:
@@ -3153,6 +3154,7 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
                    ffname = (char_u *)".";
            }
            else
+# endif
            {
                browse_file = do_browse(0, (char_u *)_("Edit File"), ffname,
                                                    NULL, NULL, NULL, curbuf);
index 246c4c0b2c908b543c54af2a418b09a7dfde2c5b..7247d8cbc3425489be715d309e4904c9e01b3721 100644 (file)
@@ -7095,10 +7095,11 @@ ex_splitview(eap)
 # endif
            && eap->cmdidx != CMD_new)
     {
+# ifdef FEAT_AUTOCMD
        if (
-# ifdef FEAT_GUI
+#  ifdef FEAT_GUI
            !gui.in_use &&
-# endif
+#  endif
                au_has_group((char_u *)"FileExplorer"))
        {
            /* No browsing supported but we do have the file explorer:
@@ -7107,6 +7108,7 @@ ex_splitview(eap)
                eap->arg = (char_u *)".";
        }
        else
+# endif
        {
            fname = do_browse(0, (char_u *)_("Edit File in new window"),
                                          eap->arg, NULL, NULL, NULL, curbuf);
index 2d47af3d144268cf725f531b9cae57651db0b3af..04581a8ebf23d42e28018f498aaec79b0188b45a 100644 (file)
@@ -8622,8 +8622,9 @@ makeset(fd, opt_flags, local_only)
 #  endif
 # endif
 # if defined(FEAT_AUTOCMD)
-                           p->indir == PV_FT)
+                           p->indir == PV_FT
 # endif
+                           )
                    {
                        if (fprintf(fd, "if &%s != '%s'", p->fullname,
                                                       *(char_u **)(varp)) < 0
index e442fcbd1a24a7aec48b2c885d81050c38684a90..ac11416c99e48d37729145e812625a54b03d7989 100644 (file)
@@ -2999,14 +2999,14 @@ ex_vimgrep(eap)
     char_u     *save_ei = NULL;
 #endif
     aco_save_T aco;
-#ifdef FEAT_AUTOCMD
-    char_u     *au_name =  NULL;
     int                flags = 0;
     colnr_T    col;
     long       tomatch;
     char_u     dirname_start[MAXPATHL];
     char_u     dirname_now[MAXPATHL];
     char_u     *target_dir = NULL;
+#ifdef FEAT_AUTOCMD
+    char_u     *au_name =  NULL;
 
     switch (eap->cmdidx)
     {
index a9773ddbfaa96b5565d5b41b926f54d78379f1c2..0e2c9ed1091bcf8b9639320a4d8fba20203bc2c2 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    16,
 /**/
     15,
 /**/