]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-222 v7.2.222
authorBram Moolenaar <Bram@vim.org>
Wed, 1 Jul 2009 18:18:57 +0000 (18:18 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 1 Jul 2009 18:18:57 +0000 (18:18 +0000)
src/ex_docmd.c
src/version.c

index 54d5b2dba75413d4adbda0ed488cf4cb81b3eaf9..47c460cef417daa80058bdb5defde4ae6a42f61d 100644 (file)
@@ -8686,6 +8686,8 @@ ex_mkrc(eap)
     }
 
 #ifdef FEAT_SESSION
+    /* Use the short file name until ":lcd" is used.  We also don't use the
+     * short file name when 'acd' is set, that is checked later. */
     did_lcd = FALSE;
 
     /* ":mkview" or ":mkview 9": generate file name with 'viewdir' */
@@ -10573,6 +10575,9 @@ ses_fname(fd, buf, flagp)
     if (buf->b_sfname != NULL
            && flagp == &ssop_flags
            && (ssop_flags & (SSOP_CURDIR | SSOP_SESDIR))
+#ifdef FEAT_AUTOCHDIR
+           && !p_acd
+#endif
            && !did_lcd)
        name = buf->b_sfname;
     else
index 24544363861bdf84972cd7959a9eb1673328ba84..3a9524256241924f76612c1641de3abc97f57d89 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    222,
 /**/
     221,
 /**/