diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 4ddfbe4..8d6f2b1 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -2544,11 +2544,15 @@ do_argfile(exarg_T *eap, int argn)
other = otherfile(p);
vim_free(p);
}
- if ((!P_HID(curbuf) || !other)
+ if (((eap->cmdidx == CMD_rewind
+ || eap->cmdidx == CMD_first
+ || eap->cmdidx == CMD_last)
+ && curwin->w_arg_idx == argn)
+ || ((!P_HID(curbuf) || !other)
&& check_changed(curbuf, CCGD_AW
| (other ? 0 : CCGD_MULTWIN)
| (eap->forceit ? CCGD_FORCEIT : 0)
- | CCGD_EXCMD))
+ | CCGD_EXCMD)))
return;
}
Hi Jan,
2016-5-17(Tue) 23:50:41 UTC+9 Jan:
> On Tuesday, 17 May, 2016 at 15:43:34 BST, h_east wrote:
> >Oops, This patch breaks other ex-command.
> >Wait a moment.
>
> It also failed to apply against the latest code for me. No rush, I'll look back in a few hours.
Thank you.
I have the measures of the following commands.
:rewind
:first
:last
However, there is also need to be separately corresponding next command.
:srewind
:sfirst
:slast
I will consider over the weekend.
--
Best regards,
Hirohito Higashi (a.k.a. h_east)
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment