Function: window-start

window-start is a function defined in window.c.

Signature

(window-start &optional WINDOW)

Documentation

Return position at which display currently starts in WINDOW.

WINDOW must be a live window and defaults to the selected one. This is updated by redisplay or by calling set-window-start.

View in manual

Probably introduced at or before Emacs version 1.1.

Source Code

// Defined in /usr/src/emacs/src/window.c
{
  return Fmarker_position (decode_live_window (window)->start);
}