[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/w32fns.c,v
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/src/w32fns.c,v |
Date: |
Thu, 19 Jun 2008 01:57:21 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Stefan Monnier <monnier> 08/06/19 01:57:20
Index: src/w32fns.c
===================================================================
RCS file: /sources/emacs/emacs/src/w32fns.c,v
retrieving revision 1.331
retrieving revision 1.332
diff -u -b -r1.331 -r1.332
--- src/w32fns.c 13 Jun 2008 14:29:47 -0000 1.331
+++ src/w32fns.c 19 Jun 2008 01:57:19 -0000 1.332
@@ -206,6 +206,7 @@
Lisp_Object Qsuppress_icon;
Lisp_Object Qundefined_color;
Lisp_Object Qcancel_timer;
+Lisp_Object Qfont_param;
Lisp_Object Qhyper;
Lisp_Object Qsuper;
Lisp_Object Qmeta;
@@ -4295,6 +4296,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);
}
@@ -8891,6 +8898,7 @@
DEFSYM (Qctrl, "ctrl");
DEFSYM (Qcontrol, "control");
DEFSYM (Qshift, "shift");
+ DEFSYM (Qfont_param, "font-parameter");
/* This is the end of symbol initialization. */
/* Text property `display' should be nonsticky by default. */
- [Emacs-diffs] Changes to emacs/src/w32fns.c,v, Jim Meyering, 2008/06/02
- [Emacs-diffs] Changes to emacs/src/w32fns.c,v, Jason Rumney, 2008/06/13
- [Emacs-diffs] Changes to emacs/src/w32fns.c,v,
Stefan Monnier <=
- [Emacs-diffs] Changes to emacs/src/w32fns.c,v, Stefan Monnier, 2008/06/19
- [Emacs-diffs] Changes to emacs/src/w32fns.c,v, Jason Rumney, 2008/06/20
- [Emacs-diffs] Changes to emacs/src/w32fns.c,v, Glenn Morris, 2008/06/27
- [Emacs-diffs] Changes to emacs/src/w32fns.c,v, Jason Rumney, 2008/06/27
- [Emacs-diffs] Changes to emacs/src/w32fns.c,v, Jason Rumney, 2008/06/28