diff options
Diffstat (limited to 'core/file_io.lua')
-rw-r--r-- | core/file_io.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/file_io.lua b/core/file_io.lua index fec1cc5e..11436cbb 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -476,5 +476,5 @@ local function update_modified_file() end end end -textadept.events.add_handler('buffer_switch', update_modified_file) -textadept.events.add_handler('view_switch', update_modified_file) +textadept.events.add_handler('buffer_after_switch', update_modified_file) +textadept.events.add_handler('view_after_switch', update_modified_file) |