code: def try_recover_from_autosave(self):
          
          autosave_dir = get_conf_path('autosave')
          autosave_mapping = CONF.get('editor', 'autosave_mapping', {})
          dialog = RecoveryDialog(autosave_dir, autosave_mapping,
                                  parent=self.editor)
          dialog.exec_if_nonempty()
          self.recover_files_to_open = dialog.files_to_open[:]
docs: Offer to recover files from autosave.