Permalink
Browse files

patch 8.0.0547: extra line break in verbosefile

Problem:    Extra line break in verbosefile when using ":echomsg". (Ingo
            Karkat)
Solution:   Don't call msg_start(). (closes #1618)
  • Loading branch information...
brammool committed Apr 7, 2017
1 parent 3bab939 commit 52604f2454e5369f861d3ce34764f74a0999c773
Showing with 12 additions and 1 deletion.
  1. +0 −1 src/eval.c
  2. +10 −0 src/testdir/test_cmdline.vim
  3. +2 −0 src/version.c
View
@@ -8328,7 +8328,6 @@ ex_execute(exarg_T *eap)
* follows is displayed on a new line when scrolling back at the
* more prompt. */
msg_sb_eol();
msg_start();
}
if (eap->cmdidx == CMD_echomsg)
@@ -412,4 +412,14 @@ func Test_getcmdtype()
cunmap <F6>
endfunc
func Test_verbosefile()
set verbosefile=Xlog
echomsg 'foo'
echomsg 'bar'
set verbosefile=
let log = readfile('Xlog')
call assert_match("foo\nbar", join(log, "\n"))
call delete('Xlog')
endfunc
set cpo&
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
547,
/**/
546,
/**/

0 comments on commit 52604f2

Please sign in to comment.