Function: old-selected-frame
old-selected-frame is a function defined in frame.c.
Signature
(old-selected-frame)
Documentation
Return the old selected FRAME.
FRAME must be a live frame and defaults to the selected one.
The return value is the frame selected the last time window change functions were run.
Probably introduced at or before Emacs version 27.1.
Source Code
// Defined in /usr/src/emacs/src/frame.c
{
return old_selected_frame;
}