From b6db1467622be046dbf00b2213fd9f49f4f3cccb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 24 Dec 2021 19:24:47 +0000 Subject: patch 8.2.3886: can define autocmd for every event by using "au!" Problem: Can define autocmd for every event by using "au!". Solution: Check if a command is present also for "au!". --- src/testdir/test_arglist.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testdir/test_arglist.vim') diff --git a/src/testdir/test_arglist.vim b/src/testdir/test_arglist.vim index ca7e2f8e21..9f9957ae1b 100644 --- a/src/testdir/test_arglist.vim +++ b/src/testdir/test_arglist.vim @@ -581,7 +581,7 @@ endfunc func Test_clear_arglist_in_all() n 0 00 000 0000 00000 000000 - au! * 0 n 0 + au WinNew 0 n 0 call assert_fails("all", "E1156") au! * endfunc -- cgit v1.2.3