diff options
author | Martin Rudalics <rudalics@gmx.at> | 2025-01-14 09:51:17 +0100 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2025-01-14 09:51:17 +0100 |
commit | d4aeb6bd230c42cf7b773ec9aebd80ad6d928d98 (patch) | |
tree | 7ac0b80899cce5c4086c815db3008ec1e37340fd /lisp/emacs-lisp/shortdoc.el | |
parent | 0226d3579461c57513cb0a600eda1f6fb17f8d22 (diff) | |
download | emacs-d4aeb6bd230c42cf7b773ec9aebd80ad6d928d98.tar.gz emacs-d4aeb6bd230c42cf7b773ec9aebd80ad6d928d98.tar.bz2 emacs-d4aeb6bd230c42cf7b773ec9aebd80ad6d928d98.zip |
Handle removal of selected tty child frame
* src/dispextern.h (root_frame):
* src/frame.h (root_frame): Move declaration from dispextern.h
to frame.h.
(SET_FRAME_VISIBLE): Whend making the selected tty child frame
invisible, use mru_rooted_frame to find a frame to switch to.
* src/dispnew.c (root_frame): Move root_frame to frame.c.
* src/frame.c (do_switch_frame): On ttys don't change the
top frame when switching from a child frame to another frame
with the same root.
(root_frame): Move here from dispnew.c.
(Fframe_root_frame): New Lisp function.
(delete_frame): Whend deleting the selected tty child frame use,
mru_rooted_frame to find a frame to switch to.
* src/window.c (mru_rooted_frame): New function.
* src/window.h (mru_rooted_frame): Declare it.
* doc/lispref/frames.texi (Child Frames): Describe new function
'frame-root-frame'.
Diffstat (limited to 'lisp/emacs-lisp/shortdoc.el')
0 files changed, 0 insertions, 0 deletions