diff --git a/runtime/doc/userfunc.txt b/runtime/doc/userfunc.txt index 65db3f3256..38f4090e25 100644 --- a/runtime/doc/userfunc.txt +++ b/runtime/doc/userfunc.txt @@ -360,8 +360,8 @@ is used as a method: > ============================================================================== 3. Cleaning up in a function ~ - *:defer* -:defer {func}({args}) Call {func} when the current function is done. + *:defe* *:defer* +:defe[r] {func}({args}) Call {func} when the current function is done. {args} are evaluated here. Quite often a command in a function has a global effect, which must be undone