Mercurial > vim
comparison src/fileio.c @ 1113:1df41c98fc2e v7.0.239
updated for version 7.0-239
author | vimboss |
---|---|
date | Tue, 01 May 2007 21:21:21 +0000 |
parents | 17b9587ff6d5 |
children | f0dcee927c1d |
comparison
equal
deleted
inserted
replaced
1112:56695f1182f0 | 1113:1df41c98fc2e |
---|---|
8084 /* find a window for this buffer and save some values */ | 8084 /* find a window for this buffer and save some values */ |
8085 aucmd_prepbuf(&aco, buf); | 8085 aucmd_prepbuf(&aco, buf); |
8086 | 8086 |
8087 /* execute the autocommands for this buffer */ | 8087 /* execute the autocommands for this buffer */ |
8088 retval = do_doautocmd(eap->arg, FALSE); | 8088 retval = do_doautocmd(eap->arg, FALSE); |
8089 do_modelines(0); | 8089 |
8090 /* Execute the modeline settings, but don't set window-local | |
8091 * options if we are using the current window for another buffer. */ | |
8092 do_modelines(aco.save_curwin == NULL ? OPT_NOWIN : 0); | |
8090 | 8093 |
8091 /* restore the current window */ | 8094 /* restore the current window */ |
8092 aucmd_restbuf(&aco); | 8095 aucmd_restbuf(&aco); |
8093 | 8096 |
8094 /* stop if there is some error or buffer was deleted */ | 8097 /* stop if there is some error or buffer was deleted */ |