From: Eli Zaretskii Date: Wed, 20 May 2015 15:09:37 +0000 (+0300) Subject: Fix "acronym" display of glyphless characters on w32 X-Git-Tag: emacs-25.0.90~2037 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e8b895342074fec055c54b1fae1a6b6cf7b301d2;p=emacs.git Fix "acronym" display of glyphless characters on w32 * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't ignore "acronym" substitutes of 1 character for glyphless characters. --- diff --git a/src/w32term.c b/src/w32term.c index d415b13f715..089c43c8a26 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -1410,7 +1410,7 @@ x_draw_glyphless_glyph_string_foreground (struct glyph_string *s) if (glyph->u.glyphless.method == GLYPHLESS_DISPLAY_ACRONYM) { - if (len > 1 + if (len > 0 && CHAR_TABLE_P (Vglyphless_char_display) && (CHAR_TABLE_EXTRA_SLOTS (XCHAR_TABLE (Vglyphless_char_display)) >= 1))