mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-10 00:31:07 +02:00
zsh-workers/8376
This commit is contained in:
parent
1eb0a2d856
commit
d78daef3dc
1 changed files with 2 additions and 2 deletions
|
@ -1077,7 +1077,7 @@ int hwgetword = -1;
|
|||
void
|
||||
ihwbegin(int offset)
|
||||
{
|
||||
if (stophist == 2 || strin)
|
||||
if (stophist == 2)
|
||||
return;
|
||||
if (chwordpos%2)
|
||||
chwordpos--; /* make sure we're on a word start, not end */
|
||||
|
@ -1097,7 +1097,7 @@ ihwbegin(int offset)
|
|||
void
|
||||
ihwend(void)
|
||||
{
|
||||
if (stophist == 2 || strin)
|
||||
if (stophist == 2)
|
||||
return;
|
||||
if (chwordpos%2 && chline) {
|
||||
/* end of word reached and we've already begun a word */
|
||||
|
|
Loading…
Reference in a new issue