diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-06-09 22:53:01 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-06-09 22:53:01 +0200 |
commit | 1610d052413e0ed664498853a47acc2d677a22d1 (patch) | |
tree | 1c12cf44d17c386f031e9f5bbece5a0497a90a23 /src/ex_cmds.c | |
parent | 1cee693b310e1494115a1677fac064941092e1bb (diff) | |
download | vim-git-1610d052413e0ed664498853a47acc2d677a22d1.tar.gz |
patch 7.4.1913v7.4.1913
Problem: When ":doautocmd" is used modelines are used even when no
autocommands were executed. (Daniel Hahler)
Solution: Skip processing modelines. (closes #854)
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 2c7742eab..5e56489a3 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -3096,7 +3096,7 @@ do_write(exarg_T *eap) { if (au_has_group((char_u *)"filetypedetect")) (void)do_doautocmd((char_u *)"filetypedetect BufRead", - TRUE); + TRUE, NULL); do_modelines(0); } |