Function: set-window-prev-buffers

set-window-prev-buffers is a function defined in window.c.

Signature

(set-window-prev-buffers WINDOW PREV-BUFFERS)

Documentation

Set WINDOW's previous buffers to PREV-BUFFERS.

WINDOW must be a live window and defaults to the selected one.

PREV-BUFFERS should be a list of elements (BUFFER WINDOW-START POS), where BUFFER is a buffer, WINDOW-START is the start position of the window for that buffer, and POS is a window-specific point value.

View in manual

Source Code

// Defined in /usr/src/emacs/src/window.c
{
  wset_prev_buffers (decode_live_window (window), prev_buffers);
  return prev_buffers;
}