changeset 46016:3ba98b59cb49

(Fbury_buffer): Use frames_discard_buffer.
author Richard M. Stallman <rms@gnu.org>
date Wed, 26 Jun 2002 08:35:14 +0000
parents 3988483dc2b7
children 81e394dd1aa4
files src/buffer.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Wed Jun 26 08:34:29 2002 +0000
+++ b/src/buffer.c	Wed Jun 26 08:35:14 2002 +0000
@@ -1932,7 +1932,10 @@
       XSETCDR (link, Qnil);
       Vbuffer_alist = nconc2 (Vbuffer_alist, link);
 
-      frames_bury_buffer (buffer);
+      /* Removing BUFFER from frame-specific lists
+	 has the effect of putting BUFFER at the end
+	 of the combined list in each frame.  */
+      frames_discard_buffer (buffer);
     }
 
   return Qnil;