aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2025-04-19 09:11:57 +0300
committerEli Zaretskii2025-04-19 09:11:57 +0300
commit37b2c2fcdd9344f33f843d3fd5f9129babdf172f (patch)
tree0ce817dd4f49be7fdbba15f1509d900d12a6e180
parentf200b3c91060afe559945e8128a021d5b3aa3ee1 (diff)
downloademacs-37b2c2fcdd9344f33f843d3fd5f9129babdf172f.tar.gz
emacs-37b2c2fcdd9344f33f843d3fd5f9129babdf172f.zip
; Improve the documentation of a recent commit
* etc/NEWS: * doc/lispref/frames.texi (Deleting Frames): Improve documentation of 'frame-deletable-p'.
-rw-r--r--doc/lispref/frames.texi7
-rw-r--r--etc/NEWS7
2 files changed, 9 insertions, 5 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 197f4c17b46..73e6b6268d4 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -2839,8 +2839,11 @@ than deleted.
2839@end deffn 2839@end deffn
2840 2840
2841The following function checks whether a frame can be safely deleted. It 2841The following function checks whether a frame can be safely deleted. It
2842is useful to avoid that a subsequent call of @code{delete-frame} throws 2842is useful for avoiding the situation whereby a subsequent call of
2843an error. 2843@code{delete-frame} fails to delete its argument @var{frame} and/or
2844signals an error. To that end, your Lisp program should call
2845@code{delete-frame} only if the following function returns
2846non-@code{nil}.
2844 2847
2845@defun frame-deletable-p &optional frame 2848@defun frame-deletable-p &optional frame
2846This function returns non-@code{nil} if the frame specified by 2849This function returns non-@code{nil} if the frame specified by
diff --git a/etc/NEWS b/etc/NEWS
index 0593f07d381..56a45068daf 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -315,9 +315,10 @@ helps to restore window buffers across Emacs sessions.
315 315
316+++ 316+++
317*** New function 'frame-deletable-p'. 317*** New function 'frame-deletable-p'.
318Calling this function before 'delete-frame' is useful to avoid how the 318If this function returns nil, the following call to 'delete-frame' might
319latter function signals an error when its FRAME argument cannot be 319fail to delete its argument FRAME or might signal an error. It is
320deleted. 320therefore advisable to use this function as part of a condition that
321determines whether to call 'delete-frame'.
321 322
322+++ 323+++
323*** New value 'force' for user option 'frame-inhibit-implied-resize'. 324*** New value 'force' for user option 'frame-inhibit-implied-resize'.