Function: window-use-time

window-use-time is a function defined in window.c.

Signature

(window-use-time &optional WINDOW)

Documentation

Return the use time of window WINDOW.

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

The window with the highest use time is usually the one most recently selected by calling select-window with NORECORD nil. The window with the lowest use time is usually the least recently selected one chosen in such a way.

Note that the use time of a window can be also changed by calling window-bump-use-time for that window.

View in manual

Source Code

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