From: Kenichi Handa Date: Tue, 21 Apr 2009 06:46:39 +0000 (+0000) Subject: (font_load_for_lface): Cancel previous change. X-Git-Tag: emacs-pretest-23.0.93~81 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=908567efed9996f9f7a47124875195c194ad1ab6;p=emacs.git (font_load_for_lface): Cancel previous change. --- diff --git a/src/ChangeLog b/src/ChangeLog index 378bce3a07b..c066489b680 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2009-04-21 Kenichi Handa + * font.c (font_load_for_lface): Cancel previous change. + * coding.c (decode_coding_utf_16): Reduce charbuf_end for the worst case. (decode_coding_emacs_mule, decode_coding_iso_2022) diff --git a/src/font.c b/src/font.c index d3ebbf54f14..c9f8b3e2d82 100644 --- a/src/font.c +++ b/src/font.c @@ -3437,8 +3437,7 @@ font_load_for_lface (f, attrs, spec) { Lisp_Object entity; - /* We assume that a font that supports 'A' supports ASCII chars. */ - entity = font_find_for_lface (f, attrs, spec, 'A'); + entity = font_find_for_lface (f, attrs, spec, -1); if (NILP (entity)) { /* No font is listed for SPEC, but each font-backend may have