emacs-31 d5c3f053b01: ; In Elisp manual say that FRAME arg in 'frame-focus-state' is optional
Martin Rudalics via Mailing list for Emacs changes <[email protected]>
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: emacs-31 commit d5c3f053b015c216f311329ef8cbfad6fa004e83 Author: Martin Rudalics <[email protected]> Commit: Martin Rudalics <[email protected]> ; In Elisp manual say that FRAME arg in 'frame-focus-state' is optional * doc/lispref/frames.texi (Input Focus): Say that FRAME argument of 'frame-focus-state' is optional. --- doc/lispref/frames.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 945cb4d0f32..2721652796b 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi @@ -3478,8 +3478,9 @@ The redirection lasts until @code{redirect-frame-focus} is called to change it. @end defun -@defun frame-focus-state frame +@defun frame-focus-state &optional frame This function retrieves the last known focus state of @var{frame}. +@var{frame} defaults to the selected frame. It returns @code{nil} if the frame is known not to be focused, @code{t} if the frame is known to be focused, or @code{unknown} if