I understand now. Thanks for the explanation. -Tak On Wed, Apr 12, 2023 at 11:59 AM Eli Zaretskii wrote: > > From: Tak Ota > > Date: Wed, 12 Apr 2023 11:48:48 -0700 > > Cc: Eli Zaretskii , 62792@debbugs.gnu.org > > > > I am curious. What is the reason the next was added to w32.c? > > > > #if _WIN32_WINNT < 0x0501 > > typedef struct > > { > > DWORD nFont; > > COORD dwFontSize; > > } CONSOLE_FONT_INFO; > > #endif > > > > This was not in the previous emacs source w32.c. > > It was added to support the new command restart-emacs. See the > function get_console_font_size and how it is used in w32_reexec_emacs. >