mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
updated for version 7.1-142
This commit is contained in:
@@ -8426,21 +8426,17 @@ ex_redir(eap)
|
|||||||
|| *arg == '"')
|
|| *arg == '"')
|
||||||
{
|
{
|
||||||
redir_reg = *arg++;
|
redir_reg = *arg++;
|
||||||
if (*arg == '>' && arg[1] == '>')
|
if (*arg == '>' && arg[1] == '>') /* append */
|
||||||
arg += 2;
|
arg += 2;
|
||||||
else if ((*arg == NUL || (*arg == '>' && arg[1] == NUL)) &&
|
else
|
||||||
(islower(redir_reg)
|
|
||||||
# ifdef FEAT_CLIPBOARD
|
|
||||||
|| redir_reg == '*'
|
|
||||||
|| redir_reg == '+'
|
|
||||||
# endif
|
|
||||||
|| redir_reg == '"'))
|
|
||||||
{
|
{
|
||||||
|
/* Can use both "@a" and "@a>". */
|
||||||
if (*arg == '>')
|
if (*arg == '>')
|
||||||
arg++;
|
arg++;
|
||||||
|
/* Make register empty when not using @A-@Z and the
|
||||||
/* make register empty */
|
* command is valid. */
|
||||||
write_reg_contents(redir_reg, (char_u *)"", -1, FALSE);
|
if (*arg == NUL && !isupper(redir_reg))
|
||||||
|
write_reg_contents(redir_reg, (char_u *)"", -1, FALSE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (*arg != NUL)
|
if (*arg != NUL)
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
142,
|
||||||
/**/
|
/**/
|
||||||
141,
|
141,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user