To:
[email protected]
Subject: Patch 7.2a.017
Fcc: outbox
From: Bram Moolenaar <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------
Patch 7.2a.017
Problem: ":doautoall" executes autocommands for all buffers instead of just
for loaded buffers.
Solution: Change "curbuf" to "buf".
Files: src/fileio.c
*** ../vim-7.2a.016/src/fileio.c Fri Jun 27 21:16:33 2008
--- src/fileio.c Tue Jul 8 11:23:56 2008
***************
*** 8235,8241 ****
*/
for (buf = firstbuf; buf != NULL; buf = buf->b_next)
{
! if (curbuf->b_ml.ml_mfp != NULL)
{
/* find a window for this buffer and save some values */
aucmd_prepbuf(&aco, buf);
--- 8235,8241 ----
*/
for (buf = firstbuf; buf != NULL; buf = buf->b_next)
{
! if (buf->b_ml.ml_mfp != NULL)
{
/* find a window for this buffer and save some values */
aucmd_prepbuf(&aco, buf);
*** ../vim-7.2a.016/src/version.c Mon Jul 7 21:22:51 2008
--- src/version.c Tue Jul 8 11:35:38 2008
***************
*** 678,679 ****
--- 678,681 ----
{ /* Add new patch number below this line */
+ /**/
+ 17,
/**/
--
hundred-and-one symptoms of being an internet addict:
177. You log off of your system because it's time to go to work.
/// Bram Moolenaar --
[email protected] --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute --
http://www.A-A-P.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///