From: Erik Naggum Date: Tue, 2 Jan 1996 19:11:31 +0000 (+0000) Subject: (Fkill_buffer): Delete buffer from Vbuffer_alist after replacing it. X-Git-Tag: emacs-19.34~1938 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b26dd9cb873f3b01ad015d6713af35bb13abe9de;p=emacs.git (Fkill_buffer): Delete buffer from Vbuffer_alist after replacing it. --- 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. */