1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-15 15:50:57 -08:00
emacs/doc
Alan Mackenzie 846989498b Fix unclean "can't happen" error handling in read_minibuf_unwind
Also fix a bug where, with minibuffer-follows-selected-frame neither nil nor
t, a minibuffer could appear in two frames at the same time.

* src/window.c (Fset_window_configuration): Add a new &optional parameter
DONT-SET-MINIWINDOW, which inhibits the minibuffer from being restored from
the supplied window configuration.
(restore_window_configuration): Enhance to match the above.

* src/minibuf.c (read_minibuf): Enhance the argument list to the
restore_window_configuration calls to match the above.  In the main case,
restoring the minibuffer is inhibited.
(read_minibuf_unwind): Should the frame with the expired minibuffer not be
found ("can't happen"), unwind the stacked data nevertheless, rather than just
exiting.

* src/keyboard.c (read_char_help_form_unwind): Amend a call of
Fset_window_configuration.

* doc/lispref/windows.texi (Window Configurations): Document the new form of
set-window-configuration.

* etc/NEWS (Lisp Changes in Emacs 28.1): Amend the entry for
set-window-configuration.
2021-04-22 12:07:21 +00:00
..
emacs Introduce and use minibuffer-mode. This fixes bug #47150 2021-04-20 10:14:40 +00:00
lispintro Remove references to very old versions of Emacs from eintr 2021-04-03 00:53:43 +02:00
lispref Fix unclean "can't happen" error handling in read_minibuf_unwind 2021-04-22 12:07:21 +00:00
man Update copyright year to 2021 2021-01-01 01:13:56 -08:00
misc Add Tramp recompilation 2021-04-19 11:52:48 +02:00