[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xfns.c,v
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/src/xfns.c,v |
Date: |
Thu, 19 Jun 2008 01:57:22 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Stefan Monnier <monnier> 08/06/19 01:57:20
Index: src/xfns.c
===================================================================
RCS file: /sources/emacs/emacs/src/xfns.c,v
retrieving revision 1.715
retrieving revision 1.716
diff -u -b -r1.715 -r1.716
--- src/xfns.c 15 Jun 2008 19:42:53 -0000 1.715
+++ src/xfns.c 19 Jun 2008 01:57:19 -0000 1.716
@@ -204,6 +204,7 @@
Lisp_Object Qsuppress_icon;
Lisp_Object Qundefined_color;
Lisp_Object Qcompound_text, Qcancel_timer;
+static Lisp_Object Qfont_param;
/* In dispnew.c */
@@ -3087,6 +3088,12 @@
if (NILP (font))
error ("No suitable font was found");
}
+ else
+ {
+ /* Remember the explicit font parameter, so we can re-apply it after
+ we've applied the `default' face settings. */
+ x_set_frame_parameters (f, Fcons (Fcons (Qfont_param, font), Qnil));
+ }
x_default_parameter (f, parms, Qfont, font, "font", "Font", RES_TYPE_STRING);
}
@@ -5854,6 +5861,8 @@
staticpro (&Qcompound_text);
Qcancel_timer = intern ("cancel-timer");
staticpro (&Qcancel_timer);
+ Qfont_param = intern ("font-parameter");
+ staticpro (&Qfont_param);
/* This is the end of symbol initialization. */
/* Text property `display' should be nonsticky by default. */
- [Emacs-diffs] Changes to emacs/src/xfns.c,v, Chong Yidong, 2008/06/10
- [Emacs-diffs] Changes to emacs/src/xfns.c,v, Chong Yidong, 2008/06/12
- [Emacs-diffs] Changes to emacs/src/xfns.c,v, Kenichi Handa, 2008/06/13
- [Emacs-diffs] Changes to emacs/src/xfns.c,v, Stefan Monnier, 2008/06/15
- [Emacs-diffs] Changes to emacs/src/xfns.c,v, Chong Yidong, 2008/06/15
- [Emacs-diffs] Changes to emacs/src/xfns.c,v,
Stefan Monnier <=
- [Emacs-diffs] Changes to emacs/src/xfns.c,v, Stefan Monnier, 2008/06/19
- [Emacs-diffs] Changes to emacs/src/xfns.c,v, Kenichi Handa, 2008/06/19
- [Emacs-diffs] Changes to emacs/src/xfns.c,v, Chong Yidong, 2008/06/25
- [Emacs-diffs] Changes to emacs/src/xfns.c,v, Chong Yidong, 2008/06/25