diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-08 21:32:40 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-08 21:32:40 +0000 |
commit | a3227e2b15600b2303e3aac070803021e76ed6d5 (patch) | |
tree | 28e62d3adfb3021ca3b92b6f86cb772d4a0ae9c8 /src/ex_cmds.c | |
parent | 1f35bf9cab16d3f3a63c47894c69c9aa699d8145 (diff) |
updated for version 7.0218v7.0218
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index d86084bbda..9deeae42f5 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -2586,7 +2586,7 @@ do_write(eap) if (*curbuf->b_p_ft == NUL) { (void)do_doautocmd((char_u *)"filetypedetect BufRead", TRUE); - do_modelines(FALSE); + do_modelines(0); } #endif } @@ -3495,7 +3495,7 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags) /* 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); + do_modelines(OPT_WINONLY); apply_autocmds_retval(EVENT_BUFENTER, NULL, NULL, FALSE, curbuf, &retval); |