To: vim_dev@googlegroups.com Subject: Patch 8.0.1461 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1461 (after 8.0.1459) Problem: Missing another file in patch. Solution: Add changes to missing file. Files: src/ex_cmds.c *** ../vim-8.0.1460/src/ex_cmds.c 2017-12-09 21:10:09.610735718 +0100 --- src/ex_cmds.c 2018-02-03 17:13:48.248922716 +0100 *************** *** 4368,4375 **** if (p_im) need_start_insertmode = TRUE; ! /* Change directories when the 'acd' option is set. */ ! DO_AUTOCHDIR #if defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG) if (curbuf->b_ffname != NULL) --- 4368,4389 ---- if (p_im) need_start_insertmode = TRUE; ! #ifdef FEAT_AUTOCHDIR ! /* Change directories when the 'acd' option is set and we aren't already in ! * that directory (should already be done above). Expect getcwd() to be ! * faster than calling shorten_fnames() unnecessarily. */ ! if (p_acd && curbuf->b_ffname != NULL) ! { ! char_u curdir[MAXPATHL]; ! char_u filedir[MAXPATHL]; ! ! vim_strncpy(filedir, curbuf->b_ffname, MAXPATHL - 1); ! *gettail_sep(filedir) = NUL; ! if (mch_dirname(curdir, MAXPATHL) != FAIL ! && vim_fnamecmp(curdir, filedir) != 0) ! do_autochdir(); ! } ! #endif #if defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG) if (curbuf->b_ffname != NULL) *** ../vim-8.0.1460/src/version.c 2018-02-03 18:01:33.894107600 +0100 --- src/version.c 2018-02-03 18:32:47.536878569 +0100 *************** *** 773,774 **** --- 773,776 ---- { /* Add new patch number below this line */ + /**/ + 1461, /**/ -- "My particular problem is with registry entries, which seem to just accumulate like plastic coffee cups..." -- Paul Moore /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///