summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-06 15:58:03 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-06 15:58:03 +0200
commit439c036ed062de1c87cc7e3fe050a9569fb12089 (patch)
tree4c1f4caab4864e5c5d101fb2c18f59459eb86ab4 /src/proto
parent11f1ffd18282c44ca4b74cf7cf336da6d09e396d (diff)
downloadvim-git-439c036ed062de1c87cc7e3fe050a9569fb12089.tar.gz
patch 8.2.0913: code for resetting v:register is duplicatedv8.2.0913
Problem: Code for resetting v:register is duplicated. Solution: Add reset_reg_var().
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/evalvars.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/evalvars.pro b/src/proto/evalvars.pro
index 0d2e7b40d..97641b5ab 100644
--- a/src/proto/evalvars.pro
+++ b/src/proto/evalvars.pro
@@ -46,6 +46,7 @@ void set_vim_var_string(int idx, char_u *val, int len);
void set_vim_var_list(int idx, list_T *val);
void set_vim_var_dict(int idx, dict_T *val);
void set_argv_var(char **argv, int argc);
+void reset_reg_var(void);
void set_reg_var(int c);
char_u *v_exception(char_u *oldval);
char_u *v_throwpoint(char_u *oldval);