Commit b26dd9cb authored by Erik Naggum's avatar Erik Naggum
Browse files

(Fkill_buffer): Delete buffer from Vbuffer_alist after replacing it.

parent e1bd1cb0
......@@ -1022,8 +1022,8 @@ with `delete-process'.")
tem = Vinhibit_quit;
Vinhibit_quit = Qt;
Vbuffer_alist = Fdelq (Frassq (buf, Vbuffer_alist), Vbuffer_alist);
replace_buffer_in_all_windows (buf);
Vbuffer_alist = Fdelq (Frassq (buf, Vbuffer_alist), Vbuffer_alist);
Vinhibit_quit = tem;
/* Delete any auto-save file, if we saved it in this session. */
......
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