diff src/testdir/test14.in @ 5616:fa53233519c6 v7.4.155

updated for version 7.4.155 Problem: ":keeppatterns /pat" does not keep search pattern offset. Solution: Restore the offset after doing the search.
author Bram Moolenaar <bram@vim.org>
date Tue, 14 Jan 2014 21:31:34 +0100
parents 15960ebc2ee8
children ae45d497868f
line wrap: on
line diff
--- a/src/testdir/test14.in
+++ b/src/testdir/test14.in
@@ -56,7 +56,10 @@ j:call search('^$', 'c')
 :$put =@/
 /^substitute
 Y:$put =@0
-:/^search()/,$w >>test.out
+/bar /e
+:$put =@0
+-:keeppatterns /xyz
+0dn:/^search()/,$w >>test.out
 :qa!
 ENDTEST