]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fkill_buffer): Delete buffer from Vbuffer_alist after replacing it.
authorErik Naggum <erik@naggum.no>
Tue, 2 Jan 1996 19:11:31 +0000 (19:11 +0000)
committerErik Naggum <erik@naggum.no>
Tue, 2 Jan 1996 19:11:31 +0000 (19:11 +0000)
src/buffer.c

index 0bebad306948761a243fc29e7400836964cc524e..b1005afe24d180cf242d6dfc10466c0fbd8404c6 100644 (file)
@@ -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.  */