aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2002-06-26 08:36:25 +0000
committerRichard M. Stallman <[email protected]>2002-06-26 08:36:25 +0000
commit6c488ddb7988ec0c64a3a3b98fa61938c37df568 (patch)
tree05145a903ce56536fcdd13c644d8246caec3ac98 /src
parentf49067803c0962ec93f737ba40db6a902c2c5beb (diff)
(Fbury_buffer): Use frames_discard_buffer.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/buffer.c5
2 files changed, 10 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1a7d6d8bdb..864f6396d0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2002-06-26 Richard M. Stallman <[email protected]>
+
+ * buffer.c (Fbury_buffer): Use frames_discard_buffer.
+
+ * frame.c (frames_bury_buffer): Function deleted.
+
2002-06-25 Miles Bader <[email protected]>
* callint.c (Fcall_interactively): When checking to see if doprnt hit
diff --git a/src/buffer.c b/src/buffer.c
index 6af8b39d3b..65300cd982 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1932,7 +1932,10 @@ selected window if it is displayed there. */)
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;