Mercurial > vim
comparison src/fileio.c @ 1665:5c3844ad7d56 v7.2a.017
updated for version 7.2a-017
author | vimboss |
---|---|
date | Tue, 08 Jul 2008 09:36:58 +0000 |
parents | d166fe2bfe74 |
children | 17526daaf79d |
comparison
equal
deleted
inserted
replaced
1664:f41b6108e46b | 1665:5c3844ad7d56 |
---|---|
8233 * gives problems when the autocommands make changes to the list of | 8233 * gives problems when the autocommands make changes to the list of |
8234 * buffers or windows... | 8234 * buffers or windows... |
8235 */ | 8235 */ |
8236 for (buf = firstbuf; buf != NULL; buf = buf->b_next) | 8236 for (buf = firstbuf; buf != NULL; buf = buf->b_next) |
8237 { | 8237 { |
8238 if (curbuf->b_ml.ml_mfp != NULL) | 8238 if (buf->b_ml.ml_mfp != NULL) |
8239 { | 8239 { |
8240 /* find a window for this buffer and save some values */ | 8240 /* find a window for this buffer and save some values */ |
8241 aucmd_prepbuf(&aco, buf); | 8241 aucmd_prepbuf(&aco, buf); |
8242 | 8242 |
8243 /* execute the autocommands for this buffer */ | 8243 /* execute the autocommands for this buffer */ |