]>
Commit | Line | Data |
---|---|---|
7bf01cab ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.150 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.150 | |
11 | Problem: When 'clipboard' has "unnamed" using "p" in Visual mode doesn't | |
12 | work correctly. (Jianrong Yu) | |
13 | Solution: When 'clipboard' has "unnamed" also obtain the selection when | |
14 | getting the default register. | |
15 | Files: src/ops.c | |
16 | ||
17 | ||
18 | *** ../vim-7.1.149/src/ops.c Tue Sep 25 14:19:35 2007 | |
19 | --- src/ops.c Sun Oct 28 13:58:35 2007 | |
20 | *************** | |
21 | *** 933,941 **** | |
22 | #ifdef FEAT_CLIPBOARD | |
23 | /* When Visual area changed, may have to update selection. Obtain the | |
24 | * selection too. */ | |
25 | ! if (name == '*' && clip_star.available && clip_isautosel()) | |
26 | { | |
27 | ! clip_update_selection(); | |
28 | may_get_selection(name); | |
29 | } | |
30 | #endif | |
31 | --- 933,942 ---- | |
32 | #ifdef FEAT_CLIPBOARD | |
33 | /* When Visual area changed, may have to update selection. Obtain the | |
34 | * selection too. */ | |
35 | ! if (name == '*' && clip_star.available) | |
36 | { | |
37 | ! if (clip_isautosel()) | |
38 | ! clip_update_selection(); | |
39 | may_get_selection(name); | |
40 | } | |
41 | #endif | |
42 | *** ../vim-7.1.149/src/version.c Tue Nov 6 22:26:39 2007 | |
43 | --- src/version.c Thu Nov 8 10:34:18 2007 | |
44 | *************** | |
45 | *** 668,669 **** | |
46 | --- 668,671 ---- | |
47 | { /* Add new patch number below this line */ | |
48 | + /**/ | |
49 | + 150, | |
50 | /**/ | |
51 | ||
52 | -- | |
53 | From "know your smileys": | |
54 | 8<}} Glasses, big nose, beard | |
55 | ||
56 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
57 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
58 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
59 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |