changeset 18556:ed9690c0f27c v8.1.2272

patch 8.1.2272: test may hang at more prompt Commit: https://github.com/vim/vim/commit/34059e7b67ae8a58dc2471b309afe05d9dde760f Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 8 23:00:25 2019 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Fri, 08 Nov 2019 23:15:03 +0100
parents babb80ff1342
children 6b3126903e2e
files src/testdir/test_vimscript.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_vimscript.vim
+++ b/src/testdir/test_vimscript.vim
@@ -1632,7 +1632,7 @@ func s:DoNothing()
 endfunc
 
 func Test_script_local_func()
-  set nocp viminfo+=nviminfo
+  set nocp nomore viminfo+=nviminfo
   new
   nnoremap <buffer> _x	:call <SID>DoNothing()<bar>call <SID>DoLast()<bar>delfunc <SID>DoNothing<bar>delfunc <SID>DoLast<cr>
 
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2272,
+/**/
     2271,
 /**/
     2270,