diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-09-06 17:44:46 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-09-06 17:44:46 +0000 |
commit | 15d0a8c77dad867b69822e2fd8f9f6bbcf765c48 (patch) | |
tree | e84faedc007f9c2b81b9056a400dccade2b947e5 /src/ex_cmds.c | |
parent | d4755bb0e04fca334675f1503bd6474b017a9bba (diff) |
updated for version 7.0015v7.0015
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 2568b194ba..ee9f1bca77 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -3059,6 +3059,11 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags) #ifdef FEAT_AUTOCMD else { + /* Read the modelines, but only to set window-local options. Any + * buffer-local options have already been set and may have been + * changed by the user. */ + do_modelines(TRUE); + apply_autocmds_retval(EVENT_BUFENTER, NULL, NULL, FALSE, curbuf, &retval); apply_autocmds_retval(EVENT_BUFWINENTER, NULL, NULL, FALSE, curbuf, |