[7.2.408] With ":g/the/s/foo/bar/" the '[ and '] marks can be set to a line
commit87b6eceac303f052d0a98d377fd1996d99426d98
authorBram Moolenaar <Bram@moolenaar.net>
Tue, 23 Mar 2010 17:35:40 +0000 (23 17:35 +0000)
committerBram Moolenaar <Bram@moolenaar.net>
Tue, 23 Mar 2010 17:35:40 +0000 (23 17:35 +0000)
tree574bddc970f6567db680453dbe17cf30faced5a3
parentc540c85423e0eefd874d2fcb0c20161eb57c4a39
[7.2.408] With ":g/the/s/foo/bar/" the '[ and '] marks can be set to a line

Problem:    With ":g/the/s/foo/bar/" the '[ and '] marks can be set to a line
            that was not changed.

Solution:   Only set '[ and '] marks when a substitution was done.

Patch 7.2.408
src/ex_cmds.c
src/version.c