]> granicus.if.org Git - vim/commit
patch 8.2.0078: expanding <sfile> works differently the second time v8.2.0078
authorBram Moolenaar <Bram@vim.org>
Thu, 2 Jan 2020 13:31:22 +0000 (14:31 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 2 Jan 2020 13:31:22 +0000 (14:31 +0100)
commitb9adef79eca6f95bc7376ff3a6a383e436c5d6ea
tree0b91933fe657397aee86a36dcacc3b45837bc9f6
parent271fa08a35b8d320d3a40db4ddae83b698fdd4fb
patch 8.2.0078: expanding <sfile> works differently the second time

Problem:    Expanding <sfile> works differently the second time.
Solution:   Keep the expanded name when redefining a function. (closes #5425)
src/testdir/test_vimscript.vim
src/userfunc.c
src/version.c