]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fkill_buffer): Don't kill auto save file if not recent.
authorRichard M. Stallman <rms@gnu.org>
Wed, 11 Oct 1995 14:41:55 +0000 (14:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 11 Oct 1995 14:41:55 +0000 (14:41 +0000)
src/buffer.c

index f65df3605b7de35b2334f23f091c5ca15287dc67..30a95df9c4b9cec5c679730d4328d63be2bc0b31 100644 (file)
@@ -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"));