diff options
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -69,17 +69,8 @@ local function prompt(path, lfile_path, pid) end -- else 'abort' or dialog canceled - - local hnd1 - hnd1 = function() - if vis.win.file and vis.win.file.path == path then - vis.events.unsubscribe(vis.events.UI_DRAW, hnd1) - vis:command('q') - vis:command('new') - end - end - vis.events.subscribe(vis.events.UI_DRAW, hnd1) - vis:redraw() + vis:command('q') + vis:command('new') end local created_locks = {} |
