Commit 482cca61 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(set_font_frame_param): Don't do anything for

non-graphical frames.
parent 85fe3b5e
2001-01-04 Gerd Moellmann <gerd@gnu.org>
* xfaces.c (set_font_frame_param): Don't do anything for
non-graphical frames.
* window.c (Fdelete_other_windows): Set window's window_end_valid
to nil when changing the window's start. Don't change the
window's start when its top position hasn't changed. If we do,
......
......@@ -4197,6 +4197,9 @@ set_font_frame_param (frame, lface)
Lisp_Object frame, lface;
{
struct frame *f = XFRAME (frame);
if (FRAME_WINDOW_P (f))
{
Lisp_Object font_name;
char *font;
......@@ -4215,6 +4218,7 @@ set_font_frame_param (frame, lface)
}
Fmodify_frame_parameters (frame, Fcons (Fcons (Qfont, font_name), Qnil));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment