(Fkill_buffer): Don't kill auto save file if not recent.
This commit is contained in:
parent
c429518802
commit
e95a0b39f8
1 changed files with 2 additions and 1 deletions
|
@ -1017,7 +1017,8 @@ with `delete-process'.")
|
|||
|
||||
/* Delete any auto-save file, if we saved it in this session. */
|
||||
if (STRINGP (b->auto_save_file_name)
|
||||
&& b->auto_save_modified != 0)
|
||||
&& b->auto_save_modified != 0
|
||||
&& SAVE_MODIFF < b->auto_save_modified)
|
||||
{
|
||||
Lisp_Object tem;
|
||||
tem = Fsymbol_value (intern ("delete-auto-save-files"));
|
||||
|
|
Loading…
Add table
Reference in a new issue