(x_set_font_backend): Allow spacing characters in the X resource
for FontBackend.
+2008-06-19 Kenichi Handa <handa@m17n.org>
+
+ * frame.c: Include <ctype.h>.
+ (x_set_font_backend): Allow spacing characters in the X resource
+ for FontBackend.
+
2008-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
* w32fns.c, xfns.c (Qfont_param): New var.
(syms_of_w32fns): Initialize it.
- (x_default_font_parameter): Record explicit `font' into `font-parameter'.
+ (x_default_font_parameter): Record explicit `font' into
+ `font-parameter'.
2008-06-18 Kenichi Handa <handa@m17n.org>
#include <config.h>
#include <stdio.h>
+#include <ctype.h>
#include "lisp.h"
#include "character.h"
#ifdef HAVE_X_WINDOWS
new_value = Qnil;
while (*p0)
{
- while (*p1 && *p1 != ',') p1++;
+ while (*p1 && ! isspace (*p1) && *p1 != ',') p1++;
if (p0 < p1)
new_value = Fcons (Fintern (make_string (p0, p1 - p0), Qnil),
new_value);
if (*p1)
- p1++;
+ {
+ int c;
+
+ while ((c = *++p1) && isspace (c));
+ }
p0 = p1;
}
new_value = Fnreverse (new_value);