1
0
forked from aniani/vim

patch 8.1.0092: prompt buffer test fails

Problem:    Prompt buffer test fails.
Solution:   Set 'nomodified' before closing the window. (Ozaki Kiichi,
            closes #3051
This commit is contained in:
Bram Moolenaar
2018-06-21 12:07:04 +02:00
parent 4551c0a9fc
commit 71ef1ba5e9
2 changed files with 4 additions and 0 deletions

View File

@@ -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',

View File

@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
92,
/**/
91,
/**/