diff options
author | Martin Rudalics <rudalics@gmx.at> | 2024-09-11 10:36:14 +0200 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2024-09-11 10:36:14 +0200 |
commit | fc3a7f45292b9a7be95fdefd24fedb7e8f564d1c (patch) | |
tree | 42c8f350f181c8705564f4320054c0fdaefbba77 /src/gtkutil.c | |
parent | 74ea24233ca281b19c3e3d2552621ceac30dfc48 (diff) | |
download | emacs-fc3a7f45292b9a7be95fdefd24fedb7e8f564d1c.tar.gz emacs-fc3a7f45292b9a7be95fdefd24fedb7e8f564d1c.tar.bz2 emacs-fc3a7f45292b9a7be95fdefd24fedb7e8f564d1c.zip |
For minibuffer windows record minibuffers only (Bug#72487)
* src/minibuf.c (zip_minibuffer_stacks): Use wset type
functions. Call 'record-window-buffer' instead of
'push-window-buffer-onto-prev' to handle all sorts of buffers
shown in minibuffer windows in a uniform way.
(read_minibuf): Call 'record-window-buffer' instead of
'push-window-buffer-onto-prev' for same reason as previous.
* lisp/calculator.el (calculator-update-display)
(calculator-save-and-quit): Make sure calculator buffer is live
before operating on it.
* lisp/window.el (record-window-buffer): Handle case where
WINDOW is a minibuffer window: Unconditionally remove WINDOW's
buffer from WINDOW's list of previous buffers and push it if
and only if it is a live minibuffer (Bug#72487). Do not run
'buffer-list-update-hook' if WINDOW is a minibuffer window.
(push-window-buffer-onto-prev): Make it an alias of
'record-window-buffer' so it will run the latter's checks.
(replace-buffer-in-windows): Handle minibuffer windows and
rewrite doc-string accordingly.
* doc/lispref/windows.texi (Buffers and Windows): Explain
handling of minibuffer windows in 'replace-buffer-in-windows'.
Diffstat (limited to 'src/gtkutil.c')
0 files changed, 0 insertions, 0 deletions