diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-09-22 14:18:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-09-22 14:18:13 +0200 |
commit | 40fa12aea352474d229f2f750e954a4318aead4e (patch) | |
tree | 329c91648cafc043a13456fca572ed847f427f1e /src/fileio.c | |
parent | da0b497c6e4e01447669773a931b0eaa5ca757f3 (diff) | |
download | vim-git-40fa12aea352474d229f2f750e954a4318aead4e.tar.gz |
patch 8.2.3453: autocmd not executed when editing a directoryv8.2.3453
Problem: Autocmd not executed when editing a directory ending in a path
separator inside try block.
Solution: Return NOTDONE instead of FAIL. (closes #8885)
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index eb46f1fd8..1767e5e09 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -338,7 +338,7 @@ readfile( filemess(curbuf, fname, (char_u *)_(msg_is_a_directory), 0); msg_end(); msg_scroll = msg_save; - return FAIL; + return NOTDONE; } } |