summaryrefslogtreecommitdiffstats
path: root/src/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff.c b/src/diff.c
index f02aa5ef27..bc0364c77c 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -2233,7 +2233,7 @@ ex_diffgetput(eap)
* another buffer. Sync undo if the command was typed. This isn't
* 100% right when ":diffput" is used in a function or mapping. */
if (KeyTyped)
- u_sync();
+ u_sync(FALSE);
aucmd_restbuf(&aco);
}