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 -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.