From 9971bea6f1380c15c22f5035d1d33d994f8a6ed7 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 21 Oct 2023 18:46:52 +0800 Subject: vim-patch:9.0.2059: outstanding exceptions may be skipped (#25736) Problem: outstanding exceptions may be skipped Solution: When restoring exception state, process remaining outstanding exceptions closes: vim/vim#13386 https://github.com/vim/vim/commit/0ab500dede4edd8d5aee7ddc63444537be527871 Co-authored-by: Yegappan Lakshmanan --- runtime/doc/userfunc.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/doc/userfunc.txt b/runtime/doc/userfunc.txt index 8b6462911d..b0384df454 100644 --- a/runtime/doc/userfunc.txt +++ b/runtime/doc/userfunc.txt @@ -410,7 +410,8 @@ Any return value of the deferred function is discarded. The function cannot be followed by anything, such as "->func" or ".member". Currently `:defer GetArg()->TheFunc()` does not work, it may work in a later version. -Errors are reported but do not cause aborting execution of deferred functions. +Errors are reported but do not cause aborting execution of deferred functions +or altering execution outside of deferred functions. No range is accepted. The function can be a partial with extra arguments, but not with a dictionary. *E1300* -- cgit