]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fkill_buffer): Don't assume buffer is current.
authorKarl Heuer <kwzh@gnu.org>
Mon, 27 Oct 1997 03:50:50 +0000 (03:50 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 27 Oct 1997 03:50:50 +0000 (03:50 +0000)
src/buffer.c

index 5bb80523c102d0772cacfcdb13a388642584c851..51b7ad0385768c951d8136a66d50cda4e8ed2fc8 100644 (file)
@@ -1114,7 +1114,7 @@ with SIGHUP.")
   /* Delete any auto-save file, if we saved it in this session.  */
   if (STRINGP (b->auto_save_file_name)
       && b->auto_save_modified != 0
-      && SAVE_MODIFF < b->auto_save_modified)
+      && BUF_SAVE_MODIFF (b) < b->auto_save_modified)
     {
       Lisp_Object tem;
       tem = Fsymbol_value (intern ("delete-auto-save-files"));