unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Proposed removal of struct frame->select_mini_window_flag.
@ 2022-05-18 15:56 Alan Mackenzie
  2022-05-18 16:19 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Mackenzie @ 2022-05-18 15:56 UTC (permalink / raw)
  To: emacs-devel

I came across struct frame->select_mini_window_flag while looking at bug
#55414.

More accurately, my attention was diverted for over an hour, trying to
work out how this boolean could be maintained in a consistent state,
given that it gets splatted to false every time Fselect_window gets
called.

Then it dawned on me that the variable has no function - if the
mini-window is the selected window, this is fully represented by struct
frame->selected_window's value.

So, I propose to remove this variable and all its "uses".  Does anybody
object?

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-18 17:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 15:56 Proposed removal of struct frame->select_mini_window_flag Alan Mackenzie
2022-05-18 16:19 ` Eli Zaretskii
2022-05-18 17:03   ` Alan Mackenzie
2022-05-18 17:16     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).