summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index 201ed3721..d66cd0c88 100644
--- a/src/main.c
+++ b/src/main.c
@@ -826,12 +826,7 @@ vim_main2(void)
// done after the clipboard is available and all initial commands that may
// modify the 'clipboard' setting have run; i.e. just before entering the
// main loop.
- {
- int default_regname = 0;
-
- adjust_clip_reg(&default_regname);
- set_reg_var(default_regname);
- }
+ reset_reg_var();
#endif
#if defined(FEAT_DIFF)