To: vim_dev@googlegroups.com Subject: Patch 7.4.2020 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.2020 Problem: Can't build without +autocmd feature. Solution: Adjust #ifdefs. Files: src/buffer.c *** ../vim-7.4.2019/src/buffer.c 2016-07-10 18:21:45.724884205 +0200 --- src/buffer.c 2016-07-10 18:28:55.494495868 +0200 *************** *** 1488,1496 **** #ifdef FEAT_SYN_HL long old_tw = curbuf->b_p_tw; #endif - #ifdef FEAT_AUTOCMD bufref_T bufref; - #endif setpcmark(); if (!cmdmod.keepalt) --- 1488,1494 ---- *************** *** 1502,1510 **** /* close_windows() or apply_autocmds() may change curbuf */ prevbuf = curbuf; #ifdef FEAT_AUTOCMD - set_bufref(&bufref, prevbuf); if (!apply_autocmds(EVENT_BUFLEAVE, NULL, NULL, FALSE, curbuf) # ifdef FEAT_EVAL || (bufref_valid(&bufref) && !aborting())) --- 1500,1508 ---- /* close_windows() or apply_autocmds() may change curbuf */ prevbuf = curbuf; + set_bufref(&bufref, prevbuf); #ifdef FEAT_AUTOCMD if (!apply_autocmds(EVENT_BUFLEAVE, NULL, NULL, FALSE, curbuf) # ifdef FEAT_EVAL || (bufref_valid(&bufref) && !aborting())) *** ../vim-7.4.2019/src/version.c 2016-07-10 18:24:22.810549520 +0200 --- src/version.c 2016-07-10 18:33:27.990428582 +0200 *************** *** 760,761 **** --- 760,763 ---- { /* Add new patch number below this line */ + /**/ + 2020, /**/ -- hundred-and-one symptoms of being an internet addict: 266. You hear most of your jokes via e-mail instead of in person. /// 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 ///