press_revert_button = function() Show_menu = nil love.filesystem.remove(Directory..Current_pane.filename) -- As a sort of undo, we don't mess with the bufferr. Conservatively indicate that there are unsaved changes. Current_pane.editor_state.next_save = Current_time + 3 end