]> granicus.if.org Git - vim/commitdiff
patch 8.1.2272: test may hang at more prompt v8.1.2272
authorBram Moolenaar <Bram@vim.org>
Fri, 8 Nov 2019 22:00:25 +0000 (23:00 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 8 Nov 2019 22:00:25 +0000 (23:00 +0100)
Problem:    Test may hang at more prompt.
Solution:   Reset 'more' after resetting 'compatible'. (Michael Soyka)

src/testdir/test_vimscript.vim
src/version.c

index f1f6fd0b87a38fc581a94c9d0bcbcca5db1fbc63..89112dead236d3f3835d507d2283ab2ce25f6efc 100644 (file)
@@ -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>
 
index 5ceb369976427dde91f11baceb1bb77b1f242779..77b3a8a48e7baef895714101dfc25b6214618203 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2272,
 /**/
     2271,
 /**/