aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frame.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 51827be40d9..e8408f20a1d 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1716,6 +1716,22 @@ frames_discard_buffer (buffer)
1716 } 1716 }
1717} 1717}
1718 1718
1719/* Move BUFFER to the end of the buffer-list of each frame. */
1720
1721void
1722frames_bury_buffer (buffer)
1723 Lisp_Object buffer;
1724{
1725 Lisp_Object frame, tail;
1726
1727 FOR_EACH_FRAME (tail, frame)
1728 {
1729 XFRAME (frame)->buffer_list
1730 = nconc2 (Fdelq (buffer, XFRAME (frame)->buffer_list),
1731 Fcons (buffer, Qnil));
1732 }
1733}
1734
1719/* Modify the alist in *ALISTPTR to associate PROP with VAL. 1735/* Modify the alist in *ALISTPTR to associate PROP with VAL.
1720 If the alist already has an element for PROP, we change it. */ 1736 If the alist already has an element for PROP, we change it. */
1721 1737