aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 6af8b39d3b5..65300cd9827 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1932,7 +1932,10 @@ selected window if it is displayed there. */)
1932 XSETCDR (link, Qnil); 1932 XSETCDR (link, Qnil);
1933 Vbuffer_alist = nconc2 (Vbuffer_alist, link); 1933 Vbuffer_alist = nconc2 (Vbuffer_alist, link);
1934 1934
1935 frames_bury_buffer (buffer); 1935 /* Removing BUFFER from frame-specific lists
1936 has the effect of putting BUFFER at the end
1937 of the combined list in each frame. */
1938 frames_discard_buffer (buffer);
1936 } 1939 }
1937 1940
1938 return Qnil; 1941 return Qnil;