Commit 30e0071c authored by Karl Heuer's avatar Karl Heuer
Browse files

(Fkill_buffer): Don't assume buffer is current.

parent 210308cc
......@@ -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"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment