Variable: kill-buffer-delete-auto-save-files

kill-buffer-delete-auto-save-files is a customizable variable defined in buffer.c.

Value

nil

Documentation

If non-nil, offer to delete any autosave file when killing a buffer.

If delete-auto-save-files is nil, any autosave deletion is inhibited.

This variable was added, or its default value changed, in Emacs 28.1.

View in manual

Probably introduced at or before Emacs version 28.1.

Source Code

// Defined in /usr/src/emacs/src/buffer.c
  DEFVAR_BOOL ("kill-buffer-delete-auto-save-files",
	       kill_buffer_delete_auto_save_files,
	       doc: /* If non-nil, offer to delete any autosave file when killing a buffer.

If `delete-auto-save-files' is nil, any autosave deletion is inhibited.  */);