* src/nsterm.m ([EmacsView noteUserSelectedFont]): Use current
font if none was selected.
- (void) noteUserSelectedFont
{
font_panel_active = NO;
+
+ /* If no font was previously selected, use the currently selected
+ font. */
+
+ if (!font_panel_result && FRAME_FONT (emacsframe))
+ {
+ font_panel_result
+ = macfont_get_nsctfont (FRAME_FONT (emacsframe));
+
+ if (font_panel_result)
+ [font_panel_result retain];
+ }
+
[NSApp stop: self];
}
#endif