]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-162 v7.2.162
authorBram Moolenaar <Bram@vim.org>
Wed, 29 Apr 2009 09:52:12 +0000 (09:52 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 29 Apr 2009 09:52:12 +0000 (09:52 +0000)
src/quickfix.c
src/version.c

index ee841602000e36c3abeb5d2b8ce7d476b725c2a9..e7f898273158e2e674456a2de4dd67db32dc5861 100644 (file)
@@ -2346,7 +2346,13 @@ ex_copen(eap)
            set_option_value((char_u *)"bt", 0L, (char_u *)"quickfix",
                                                                   OPT_LOCAL);
            set_option_value((char_u *)"bh", 0L, (char_u *)"wipe", OPT_LOCAL);
-           set_option_value((char_u *)"diff", 0L, NULL, OPT_LOCAL);
+#ifdef FEAT_DIFF
+           curwin->w_p_diff = FALSE;
+#endif
+#ifdef FEAT_FOLDING
+           set_option_value((char_u *)"fdm", 0L, (char_u *)"manual",
+                                                                  OPT_LOCAL);
+#endif
        }
 
        /* Only set the height when still in the same tab page and there is no
@@ -2607,10 +2613,12 @@ qf_fill_buffer(qi)
     curbuf->b_p_ma = FALSE;
 
 #ifdef FEAT_AUTOCMD
+    keep_filetype = TRUE;              /* don't detect 'filetype' */
     apply_autocmds(EVENT_BUFREADPOST, (char_u *)"quickfix", NULL,
                                                               FALSE, curbuf);
     apply_autocmds(EVENT_BUFWINENTER, (char_u *)"quickfix", NULL,
                                                               FALSE, curbuf);
+    keep_filetype = FALSE;
 #endif
 
     /* make sure it will be redrawn */
index d5adfab5dd3c74242ad9d60135cc1e90d1c83d81..3bb98bf2770526fbd83b211100d62b1f49a900a4 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    162,
 /**/
     161,
 /**/