commit | 1610d052413e0ed664498853a47acc2d677a22d1 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jun 09 22:53:01 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jun 09 22:53:01 2016 +0200 |
tree | 1c12cf44d17c386f031e9f5bbece5a0497a90a23 | |
parent | 1cee693b310e1494115a1677fac064941092e1bb [diff] [blame] |
patch 7.4.1913 Problem: When ":doautocmd" is used modelines are used even when no autocommands were executed. (Daniel Hahler) Solution: Skip processing modelines. (closes #854)
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 2c7742e..5e56489 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c
@@ -3096,7 +3096,7 @@ { if (au_has_group((char_u *)"filetypedetect")) (void)do_doautocmd((char_u *)"filetypedetect BufRead", - TRUE); + TRUE, NULL); do_modelines(0); }