# HG changeset patch # User Erik Naggum # Date 820609891 0 # Node ID 5636ed4243ec4ed8d553db7e2a390ce9fe9771fa # Parent 6fbe63371ed6106bbf4af6c81117d2604a02ab61 (Fkill_buffer): Delete buffer from Vbuffer_alist after replacing it. diff -r 6fbe63371ed6 -r 5636ed4243ec src/buffer.c --- 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. */