0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0-239

This commit is contained in:
Bram Moolenaar
2007-05-01 21:21:21 +00:00
parent 0ddf0a7df0
commit eeefcc7723
3 changed files with 16 additions and 4 deletions

View File

@@ -8086,7 +8086,10 @@ ex_doautoall(eap)
/* execute the autocommands for this buffer */
retval = do_doautocmd(eap->arg, FALSE);
do_modelines(0);
/* Execute the modeline settings, but don't set window-local
* options if we are using the current window for another buffer. */
do_modelines(aco.save_curwin == NULL ? OPT_NOWIN : 0);
/* restore the current window */
aucmd_restbuf(&aco);