Permalink
Browse files

patch 8.1.0092: prompt buffer test fails

Problem:    Prompt buffer test fails.
Solution:   Set 'nomodified' before closing the window. (Ozaki Kiichi,
            closes #3051
  • Loading branch information...
brammool committed Jun 21, 2018
1 parent 4551c0a commit 71ef1ba5e996f34d3e0acbe1d89c4c6bfa5e98ba
Showing with 4 additions and 0 deletions.
  1. +2 −0 src/testdir/test_prompt_buffer.vim
  2. +2 −0 src/version.c
@@ -24,6 +24,8 @@ func WriteScript(name)
call writefile([
\ 'func TextEntered(text)',
\ ' if a:text == "exit"',
\ ' " Reset &modified to allow the buffer to be closed.',
\ ' set nomodified',
\ ' stopinsert',
\ ' close',
\ ' else',
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
92,
/**/
91,
/**/

0 comments on commit 71ef1ba

Please sign in to comment.