[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xfaces.c,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/src/xfaces.c,v |
Date: |
Sun, 06 Jul 2008 03:51:06 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 08/07/06 03:51:06
Index: xfaces.c
===================================================================
RCS file: /sources/emacs/emacs/src/xfaces.c,v
retrieving revision 1.403
retrieving revision 1.404
diff -u -b -r1.403 -r1.404
--- xfaces.c 5 Jul 2008 21:16:05 -0000 1.403
+++ xfaces.c 6 Jul 2008 03:51:06 -0000 1.404
@@ -3501,11 +3501,14 @@
Lisp_Object frame, lface;
{
struct frame *f = XFRAME (frame);
+ Lisp_Object font;
- if (FRAME_WINDOW_P (f))
+ if (FRAME_WINDOW_P (f)
+ /* Don't do anything if the font is `unspecified'. This can
+ happen during frame creation. */
+ && (font = LFACE_FONT (lface),
+ ! UNSPECIFIEDP (font)))
{
- Lisp_Object font = LFACE_FONT (lface);
-
if (FONT_SPEC_P (font))
{
font = font_load_for_lface (f, XVECTOR (lface)->contents, font);
- [Emacs-diffs] Changes to emacs/src/xfaces.c,v, Chong Yidong, 2008/07/05
- [Emacs-diffs] Changes to emacs/src/xfaces.c,v,
Chong Yidong <=
- [Emacs-diffs] Changes to emacs/src/xfaces.c,v, Chong Yidong, 2008/07/08
- [Emacs-diffs] Changes to emacs/src/xfaces.c,v, Adrian Robert, 2008/07/15
- [Emacs-diffs] Changes to emacs/src/xfaces.c,v, Dan Nicolaescu, 2008/07/27