Function: window-prev-buffers

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

Signature

(window-prev-buffers &optional WINDOW)

Documentation

Return buffers previously shown in WINDOW.

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

The return value is 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
{
  return decode_live_window (window)->prev_buffers;
}