Commit 34ac10a8 authored by Dmitry Antipov's avatar Dmitry Antipov
Browse files

* xfaces.c (init_frame_faces): Always realize basic faces (#Bug17889).

parent 3f4d0f04
2014-07-01 Dmitry Antipov <dmantipov@yandex.ru>
* xfaces.c (init_frame_faces): Always realize basic faces (#Bug17889).
2014-06-30 Eli Zaretskii <eliz@gnu.org>
* frame.c (do_switch_frame): When switching to another TTY frame,
......
......@@ -680,19 +680,9 @@ init_frame_faces (struct frame *f)
}
#endif /* HAVE_WINDOW_SYSTEM */
/* Realize basic faces. Must have enough information in frame
parameters to realize basic faces at this point. */
#ifdef HAVE_X_WINDOWS
if (!FRAME_X_P (f) || FRAME_X_WINDOW (f))
#endif
#ifdef HAVE_NTGUI
if (!FRAME_WINDOW_P (f) || FRAME_W32_WINDOW (f))
#endif
#ifdef HAVE_NS
if (!FRAME_NS_P (f) || FRAME_NS_WINDOW (f))
#endif
if (!realize_basic_faces (f))
emacs_abort ();
/* Realize faces early (Bug#17889). */
if (!realize_basic_faces (f))
emacs_abort ();
}
......
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