diff src/userfunc.c @ 30986:360f286b5869 v9.0.0828

patch 9.0.0828: various typos Commit: https://github.com/vim/vim/commit/c57b5bcd22826e0852c2bc9c7d4382e1cac7cb74 Author: dundargoc <gocdundar@gmail.com> Date: Wed Nov 2 13:30:51 2022 +0000 patch 9.0.0828: various typos Problem: Various typos. Solution: Correct typos. (closes https://github.com/vim/vim/issues/11432)
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Nov 2022 14:45:11 +0100
parents 586b5b3aacf9
children c12069d28719
line wrap: on
line diff
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -2921,7 +2921,7 @@ call_user_func(
     // If called from a compiled :def function the execution context must be
     // hidden, any deferred functions need to be added to the function being
     // executed here.
-    save_current_ectx = clear_currrent_ectx();
+    save_current_ectx = clear_current_ectx();
 
     save_current_sctx = current_sctx;
     current_sctx = fp->uf_script_ctx;
@@ -5064,7 +5064,7 @@ define_function(exarg_T *eap, char_u *na
     if (is_export)
     {
 	fp->uf_flags |= FC_EXPORT;
-	// let ex_export() know the export worked.
+	// let do_one_cmd() know the export worked.
 	is_export = FALSE;
     }