From 14f91e7132055a360cb5233517d10297868019b5 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 30 Jan 2014 20:46:15 +0000 Subject: [PATCH] Use a scoped edition when pasting --- src/normal.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/normal.cc b/src/normal.cc index e0707f8b..a17e1eea 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -554,6 +554,7 @@ void paste(Context& context, int) break; } } + ScopedEdition edition(context); if (linewise) insert(context.buffer(), context.selections(), strings); else