summaryrefslogtreecommitdiff
path: root/src/vim9execute.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim9execute.c')
-rw-r--r--src/vim9execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9execute.c b/src/vim9execute.c
index 02d2c30c0..955c3aa4d 100644
--- a/src/vim9execute.c
+++ b/src/vim9execute.c
@@ -729,7 +729,7 @@ store_var(char_u *name, typval_T *tv)
funccal_entry_T entry;
save_funccal(&entry);
- set_var_const(name, NULL, tv, FALSE, LET_NO_COMMAND);
+ set_var_const(name, NULL, tv, FALSE, ASSIGN_NO_DECL);
restore_funccal();
}