]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.1378: autoload script sources itself when defining function v8.0.1378
authorBram Moolenaar <Bram@vim.org>
Thu, 7 Dec 2017 21:23:04 +0000 (22:23 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 7 Dec 2017 21:23:04 +0000 (22:23 +0100)
commit3388d334572f9d65a603d09d75e363805d96c5d9
tree181aa5869c33377419fccbcc140801cfeeeffc23
parent6e65d594aa33be11f6074f26e9ff81b52504c62b
patch 8.0.1378: autoload script sources itself when defining function

Problem:    Autoload script sources itself when defining function.
Solution:   Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro
            Matsumoto, closes #2423)
src/testdir/sautest/autoload/sourced.vim [new file with mode: 0644]
src/testdir/test_autoload.vim
src/userfunc.c
src/version.c