]> git.ipfire.org Git - ipfire-3.x.git/blame - vim/patches/vim-7.3.186.patch0
vim: Import latest patches from upstream.
[ipfire-3.x.git] / vim / patches / vim-7.3.186.patch0
CommitLineData
c6060300
MT
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.186
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.186
11Problem: When 'clipboard' contains "unnamed" or "unnamedplus" the value of
12 v:register is wrong for operators without a specific register.
13Solution: Adjust the register according to 'clipboard'. (Ingo Karkat)
14Files: src/normal.c
15
16
17*** ../vim-7.3.185/src/normal.c 2010-12-17 18:52:56.000000000 +0100
18--- src/normal.c 2011-05-10 16:07:49.000000000 +0200
19***************
20*** 1202,1208 ****
21 {
22 clearop(oap);
23 #ifdef FEAT_EVAL
24! set_reg_var('"');
25 #endif
26 }
27
28--- 1202,1214 ----
29 {
30 clearop(oap);
31 #ifdef FEAT_EVAL
32! {
33! int regname = 0;
34! /* Adjust the register according to 'clipboard', so that when
35! * "unnamed" is present it becomes '*' or '+' instead of '"'. */
36! adjust_clip_reg(&regname);
37! set_reg_var(regname);
38! }
39 #endif
40 }
41
42*** ../vim-7.3.185/src/version.c 2011-05-10 16:00:43.000000000 +0200
43--- src/version.c 2011-05-10 16:10:10.000000000 +0200
44***************
45*** 716,717 ****
46--- 716,719 ----
47 { /* Add new patch number below this line */
48+ /**/
49+ 186,
50 /**/
51
52--
53hundred-and-one symptoms of being an internet addict:
5480. At parties, you introduce your spouse as your "service provider."
55
56 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
57/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
58\\\ an exciting new programming language -- http://www.Zimbu.org ///
59 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///