mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-30 07:10:58 +02:00
39811: vi-repeat-change must not be the "motion" of vi-change, lest it infinitely repeat itself
This commit is contained in:
parent
4bc0d13911
commit
ae4c035cde
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2016-11-02 Barton E. Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* 39811: Src/Zle/zle_vi.c: vi-repeat-change must not be the
|
||||||
|
"motion" of vi-change, lest it infinitely repeat itself.
|
||||||
|
|
||||||
2016-11-01 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
2016-11-01 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||||
|
|
||||||
* 39731: Completion/Unix/Command/_awk: add support for gawk
|
* 39731: Completion/Unix/Command/_awk: add support for gawk
|
||||||
|
|
|
@ -780,7 +780,7 @@ int
|
||||||
virepeatchange(UNUSED(char **args))
|
virepeatchange(UNUSED(char **args))
|
||||||
{
|
{
|
||||||
/* make sure we have a change to repeat */
|
/* make sure we have a change to repeat */
|
||||||
if (!vichgbuf || vichgflag)
|
if (!vichgbuf || vichgflag || virangeflag)
|
||||||
return 1;
|
return 1;
|
||||||
/* restore or update the saved count and buffer */
|
/* restore or update the saved count and buffer */
|
||||||
if (zmod.flags & MOD_MULT) {
|
if (zmod.flags & MOD_MULT) {
|
||||||
|
|
Loading…
Reference in a new issue