1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 15:52:00 -08:00
emacs/doc
Juri Linkov 714e11d535 Add undelete-frame-max instead of undelete-frame-mode (bug#51883)
* doc/emacs/frames.texi (Frame Commands): Replace
undelete-frame-mode with undelete-frame-max.

* lisp/frame.el (undelete-frame-max): New defcustom, by default 1.
(undelete-frame--handle-delete-frame): Use undelete-frame-max
instead of hard-coded 16.
(undelete-frame-mode): Remove function.
(after-init-hook): Add hook undelete-frame--handle-delete-frame to
delete-frame-functions using after-init-hook to not store the
initial frame.
(undelete-frame): Remove undelete-frame-mode.  Use undelete-frame-max
instead of hard-coded 16.

* lisp/menu-bar.el (menu-bar-file-menu): Remove menu item undelete-frame-mode.

* src/frame.c (Fdelete_frame): Replace `undelete-frame-mode' with
`undelete-frame-max' in the docstring.
2022-01-16 22:58:30 +02:00
..
emacs Add undelete-frame-max instead of undelete-frame-mode (bug#51883) 2022-01-16 22:58:30 +02:00
lispintro Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
lispref Find a way to make lowering frames work on Haiku 2022-01-15 05:30:28 +00:00
man Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
misc Merge from origin/emacs-28 2022-01-14 06:30:23 +01:00