1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

; Improve the documentation of a recent commit

* etc/NEWS:
* doc/lispref/frames.texi (Deleting Frames): Improve documentation
of 'frame-deletable-p'.
This commit is contained in:
Eli Zaretskii 2025-04-19 09:11:57 +03:00
parent f200b3c910
commit 37b2c2fcdd
2 changed files with 9 additions and 5 deletions

View file

@ -2839,8 +2839,11 @@ than deleted.
@end deffn
The following function checks whether a frame can be safely deleted. It
is useful to avoid that a subsequent call of @code{delete-frame} throws
an error.
is useful for avoiding the situation whereby a subsequent call of
@code{delete-frame} fails to delete its argument @var{frame} and/or
signals an error. To that end, your Lisp program should call
@code{delete-frame} only if the following function returns
non-@code{nil}.
@defun frame-deletable-p &optional frame
This function returns non-@code{nil} if the frame specified by