4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: ":redir @A>" doesn't work.
12 Solution: Ignore the extra ">" also when appending. (James Vega)
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
23 ! if (*arg == '>' && arg[1] == '>')
25 ! else if ((*arg == NUL || (*arg == '>' && arg[1] == NUL)) &&
27 ! # ifdef FEAT_CLIPBOARD
31 ! || redir_reg == '"'))
36 ! /* make register empty */
37 ! write_reg_contents(redir_reg, (char_u *)"", -1, FALSE);
45 ! if (*arg == '>' && arg[1] == '>') /* append */
49 + /* Can use both "@a" and "@a>". */
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);
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
64 { /* Add new patch number below this line */
70 hundred-and-one symptoms of being an internet addict:
71 36. You miss more than five meals a week downloading the latest games from
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 ///