]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.142
- updated to 7.1.285
[packages/vim.git] / 7.1.142
CommitLineData
25f687b8
AM
1To: vim-dev@vim.org
2Subject: Patch 7.1.142
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.1.142
11Problem: ":redir @A>" doesn't work.
12Solution: Ignore the extra ">" also when appending. (James Vega)
13Files: src/ex_docmd.c
14
15
16*** ../vim-7.1.141/src/ex_docmd.c Sun Sep 30 14:00:41 2007
17--- src/ex_docmd.c Tue Oct 9 11:09:09 2007
18***************
19*** 8426,8446 ****
20 || *arg == '"')
21 {
22 redir_reg = *arg++;
23! if (*arg == '>' && arg[1] == '>')
24 arg += 2;
25! else if ((*arg == NUL || (*arg == '>' && arg[1] == NUL)) &&
26! (islower(redir_reg)
27! # ifdef FEAT_CLIPBOARD
28! || redir_reg == '*'
29! || redir_reg == '+'
30! # endif
31! || redir_reg == '"'))
32 {
33 if (*arg == '>')
34 arg++;
35!
36! /* make register empty */
37! write_reg_contents(redir_reg, (char_u *)"", -1, FALSE);
38 }
39 }
40 if (*arg != NUL)
41--- 8426,8442 ----
42 || *arg == '"')
43 {
44 redir_reg = *arg++;
45! if (*arg == '>' && arg[1] == '>') /* append */
46 arg += 2;
47! else
48 {
49+ /* Can use both "@a" and "@a>". */
50 if (*arg == '>')
51 arg++;
52! /* Make register empty when not using @A-@Z and the
53! * command is valid. */
54! if (*arg == NUL && !isupper(redir_reg))
55! write_reg_contents(redir_reg, (char_u *)"", -1, FALSE);
56 }
57 }
58 if (*arg != NUL)
59*** ../vim-7.1.141/src/version.c Fri Oct 19 14:32:50 2007
60--- src/version.c Fri Oct 19 16:18:36 2007
61***************
62*** 668,669 ****
63--- 668,671 ----
64 { /* Add new patch number below this line */
65+ /**/
66+ 142,
67 /**/
68
69--
70hundred-and-one symptoms of being an internet addict:
7136. You miss more than five meals a week downloading the latest games from
72 Apogee.
73
74 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
75/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
76\\\ download, build and distribute -- http://www.A-A-P.org ///
77 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.03294 seconds and 4 git commands to generate.