Improve the selected-window doc string

* src/window.c (Fselected_window): Add some pointers to other
functions in this area.
This commit is contained in:
Lars Ingebrigtsen 2022-02-05 08:07:18 +01:00
parent 785a045b86
commit 89d419255b

View file

@ -481,7 +481,9 @@ Return WINDOW. */)
DEFUN ("selected-window", Fselected_window, Sselected_window, 0, 0, 0,
doc: /* Return the selected window.
The selected window is the window in which the standard cursor for
selected windows appears and to which many commands apply. */)
selected windows appears and to which many commands apply.
Also see `old-selected-window' and `minibuffer-selected-window'. */)
(void)
{
return selected_window;