From e95a0b39f8c2e458f31269510502d400d7d7613f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 11 Oct 1995 14:41:55 +0000 Subject: [PATCH] (Fkill_buffer): Don't kill auto save file if not recent. --- src/buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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")); -- 2.39.2