mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
Document new option 'delete-frame-choose-selected' (Bug#80397)
* doc/lispref/frames.texi (Deleting Frames): Document new option 'delete-frame-choose-selected'. * etc/NEWS: Mark 'delete-frame-choose-selected', 'split-frame' and 'merge-frames' as documented.
This commit is contained in:
parent
f0bfa33039
commit
884d7a198c
|
|
@ -2991,6 +2991,18 @@ for example, deleting a frame during a drag-and-drop operation
|
|||
the @code{delete-frame} call in a @code{condition-case} form.
|
||||
@end defun
|
||||
|
||||
When the selected frame gets deleted Emacs has to select another frame
|
||||
instead. The following option lets you choose which one.
|
||||
|
||||
@defopt delete-frame-choose-selected
|
||||
This variable specifies which frame to select after deleting the
|
||||
selected frame. The default value @code{mru} means @code{delete-frame}
|
||||
should try to select the most recently used frame as returned by
|
||||
@code{get-mru-frame} (@pxref{Input Focus}) on the same terminal. The
|
||||
value @code{nil} means that @code{delete-frame} will try to select the
|
||||
oldest visible frame on the same terminal as the deleted one.
|
||||
@end defvar
|
||||
|
||||
|
||||
@node Finding All Frames
|
||||
@section Finding All Frames
|
||||
|
|
|
|||
4
etc/NEWS
4
etc/NEWS
|
|
@ -519,7 +519,7 @@ same terminal as the selected frame. Child frames can be excluded. A
|
|||
single frame can be excluded, for example, the selected frame.
|
||||
'get-mru-frame' returns the single most recently used frame.
|
||||
|
||||
---
|
||||
+++
|
||||
*** After deleting, 'delete-frame' now selects the most recently used frame.
|
||||
Previously, after deleting a specified frame, 'delete-frame' would
|
||||
select the oldest visible frame on the same terminal. To revert to the
|
||||
|
|
@ -550,7 +550,7 @@ the corresponding frame parameters 'width', 'height', 'left' and 'top'.
|
|||
'set-frame-size-and-position-pixelwise' is similar but has a more
|
||||
restricted set of values for specifying size and position.
|
||||
|
||||
---
|
||||
+++
|
||||
*** New commands 'split-frame' and 'merge-frames'.
|
||||
'split-frame' moves a specified number of windows from an existing frame
|
||||
to a newly-created frame. 'merge-frames' merges all windows from two
|
||||
|
|
|
|||
Loading…
Reference in a new issue