changeset 13922:5636ed4243ec

(Fkill_buffer): Delete buffer from Vbuffer_alist after replacing it.
author Erik Naggum <erik@naggum.no>
date Tue, 02 Jan 1996 19:11:31 +0000
parents 6fbe63371ed6
children 35e379a3952e
files src/buffer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Tue Jan 02 17:03:24 1996 +0000
+++ b/src/buffer.c	Tue Jan 02 19:11:31 1996 +0000
@@ -1022,8 +1022,8 @@
 
   tem = Vinhibit_quit;
   Vinhibit_quit = Qt;
+  replace_buffer_in_all_windows (buf);
   Vbuffer_alist = Fdelq (Frassq (buf, Vbuffer_alist), Vbuffer_alist);
-  replace_buffer_in_all_windows (buf);
   Vinhibit_quit = tem;
 
   /* Delete any auto-save file, if we saved it in this session.  */