changeset 13175:86fef98acedc

(Fkill_buffer): Don't kill auto save file if not recent.
author Richard M. Stallman <rms@gnu.org>
date Wed, 11 Oct 1995 14:41:55 +0000
parents d9170c4ec837
children af414e792977
files src/buffer.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Wed Oct 11 11:48:52 1995 +0000
+++ b/src/buffer.c	Wed Oct 11 14:41:55 1995 +0000
@@ -1017,7 +1017,8 @@
 
   /* 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"));