From b26dd9cb873f3b01ad015d6713af35bb13abe9de Mon Sep 17 00:00:00 2001 From: Erik Naggum Date: Tue, 2 Jan 1996 19:11:31 +0000 Subject: [PATCH] (Fkill_buffer): Delete buffer from Vbuffer_alist after replacing it. --- src/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer.c b/src/buffer.c index 0bebad30694..b1005afe24d 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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. */ -- 2.39.2