0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.1.2272: test may hang at more prompt

Problem:    Test may hang at more prompt.
Solution:   Reset 'more' after resetting 'compatible'. (Michael Soyka)
This commit is contained in:
Bram Moolenaar
2019-11-08 23:00:25 +01:00
parent 398a59b6a5
commit 34059e7b67
2 changed files with 3 additions and 1 deletions

View File

@@ -1632,7 +1632,7 @@ func s:DoNothing()
endfunc endfunc
func Test_script_local_func() func Test_script_local_func()
set nocp viminfo+=nviminfo set nocp nomore viminfo+=nviminfo
new new
nnoremap <buffer> _x :call <SID>DoNothing()<bar>call <SID>DoLast()<bar>delfunc <SID>DoNothing<bar>delfunc <SID>DoLast<cr> nnoremap <buffer> _x :call <SID>DoNothing()<bar>call <SID>DoLast()<bar>delfunc <SID>DoNothing<bar>delfunc <SID>DoLast<cr>

View File

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