From e5f2280381250801a28dcff9823e6f94e7b163fc Mon Sep 17 00:00:00 2001 From: Colin Kennedy Date: Tue, 26 Mar 2024 18:20:16 +0100 Subject: patch 9.1.0207: No autocommand when writing session file Problem: No autocommand when writing session file Solution: Add SessionWritePost autocommand (Colin Kennedy) fixes: ##14242 closes: #14288 Co-authored-by: zeertzjq Signed-off-by: Colin Kennedy Signed-off-by: Christian Brabandt --- src/autocmd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/autocmd.c') diff --git a/src/autocmd.c b/src/autocmd.c index 8e43b34473..8a7e6072a9 100644 --- a/src/autocmd.c +++ b/src/autocmd.c @@ -160,6 +160,7 @@ static struct event_name {"SafeState", EVENT_SAFESTATE}, {"SafeStateAgain", EVENT_SAFESTATEAGAIN}, {"SessionLoadPost", EVENT_SESSIONLOADPOST}, + {"SessionWritePost",EVENT_SESSIONWRITEPOST}, {"ShellCmdPost", EVENT_SHELLCMDPOST}, {"ShellFilterPost", EVENT_SHELLFILTERPOST}, {"SigUSR1", EVENT_SIGUSR1}, -- cgit v1.2.3