Hi Bram!
On Fr, 08 Jul 2016, Bram Moolenaar wrote:
>
> Christian Brabandt wrote:
>
> > On Fr, 08 Jul 2016, Bram Moolenaar wrote:
> >
> > >
> > > Patch 7.4.2000 (after 7.4.1999)
> > > Problem: Evalcmd test fails.
> > > Solution: Add missing piece.
> > > Files: src/ex_docmd.c
> > >
> > > + EMSG(_("E930: Cannot use :redir inside evalcmd()"));
> >
> > From the failing test I see that this worked without this patch.
> > Is there a reason this is now forbidden?
>
> What do you mean with "worked"? The :redir command would execute but
> then silently not do anything, because all output goes to evalcmd().
> That's why I added the error.
This command:
call assert_fails('call evalcmd("call NestedRedir()")', 'E930:')
It output "\nbroken" that's what I would have expected.
Best,
Christian
--
Zwei Bankräuber fotografieren sich bei einem Einbruch selbst; da
auf den Polaroidbildern zunächst nichts zu sehen ist, lassen sie
diese am Tatort im Papierkorb liegen.
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.