| To: vim-dev@vim.org |
| Subject: Patch 7.1.150 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.1.150 |
| Problem: When 'clipboard' has "unnamed" using "p" in Visual mode doesn't |
| work correctly. (Jianrong Yu) |
| Solution: When 'clipboard' has "unnamed" also obtain the selection when |
| getting the default register. |
| Files: src/ops.c |
| |
| |
| |
| |
| |
| *** 933,941 **** |
| #ifdef FEAT_CLIPBOARD |
| /* When Visual area changed, may have to update selection. Obtain the |
| * selection too. */ |
| ! if (name == '*' && clip_star.available && clip_isautosel()) |
| { |
| ! clip_update_selection(); |
| may_get_selection(name); |
| } |
| #endif |
| --- 933,942 ---- |
| #ifdef FEAT_CLIPBOARD |
| /* When Visual area changed, may have to update selection. Obtain the |
| * selection too. */ |
| ! if (name == '*' && clip_star.available) |
| { |
| ! if (clip_isautosel()) |
| ! clip_update_selection(); |
| may_get_selection(name); |
| } |
| #endif |
| |
| |
| |
| *** 668,669 **** |
| --- 668,671 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 150, |
| /**/ |
| |
| -- |
| From "know your smileys": |
| 8<}} Glasses, big nose, beard |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ download, build and distribute -- http://www.A-A-P.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |