From: Richard M. Stallman Date: Wed, 11 Oct 1995 14:41:55 +0000 (+0000) Subject: (Fkill_buffer): Don't kill auto save file if not recent. X-Git-Tag: emacs-19.34~2685 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e95a0b39f8c2e458f31269510502d400d7d7613f;p=emacs.git (Fkill_buffer): Don't kill auto save file if not recent. --- diff --git a/src/buffer.c b/src/buffer.c index f65df3605b7..30a95df9c4b 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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"));