]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.0602: when gF fails to edit the file the cursor still moves v8.0.0602
authorBram Moolenaar <Bram@vim.org>
Wed, 24 May 2017 07:51:39 +0000 (09:51 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 24 May 2017 07:51:39 +0000 (09:51 +0200)
commit2a79ed293c077ba791db962f0e121cf97ba4f7a7
tree65412b41e41eedd2ba9674575d97a3504d3047eb
parent545cb79da586be3333a0a55616046f94b01f6b1a
patch 8.0.0602: when gF fails to edit the file the cursor still moves

Problem:    When gF fails to edit the file the cursor still moves to the found
            line number.
Solution:   Check the return value of do_ecmd(). (Michael Hwang)
src/normal.c
src/testdir/test_gf.vim
src/version.c