commit | 3fcfa35f82b9d1ef5e95051b3a45578e10c14ec3 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Mar 29 19:20:41 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Mar 29 19:20:41 2017 +0200 |
tree | 84aa6be11d89fb6fa012413667901ad75e32c8b1 | |
parent | 99a6e8dd824399332563caa6cacfcda33da1f366 [diff] [blame] |
patch 8.0.0522: Win32: when 'clipboard' is "unnamed" yyp does not work Problem: MS-Windows: when 'clipboard' is "unnamed" yyp does not work in a :global command. Solution: When setting the clipboard was postponed, do not clear the register.
diff --git a/src/ops.c b/src/ops.c index 9cff1bc..7cbc0c2 100644 --- a/src/ops.c +++ b/src/ops.c
@@ -6466,7 +6466,7 @@ VIsual = old_visual; VIsual_mode = old_visual_mode; } - else + else if (!is_clipboard_needs_update()) { clip_free_selection(cbd);