]> git.eshelyaron.com Git - emacs.git/commit
Fix sluggish display of symbols in UTF-8 language environment
authorEli Zaretskii <eliz@gnu.org>
Wed, 16 Nov 2016 16:11:33 +0000 (18:11 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 16 Nov 2016 16:11:33 +0000 (18:11 +0200)
commite992ac0a639d01df8f04c18061b0d73f792ff2c2
treecc3400264f59511bf86b1d762bf57acfb2104c81
parent1fc101b0c4009e664c102b896e8d510f4821e754
Fix sluggish display of symbols in UTF-8 language environment

* lisp/international/fontset.el (setup-default-fontset): Make sure
Symbola and FreeMono are set up in the default fontset as belonging
to the "iso10646-1" registry.  In the UTF-8 locale, this avoids a
long and futile search for a suitable font, whose side effect is a
lot of consing, which then hits the font-cache compacting issue,
and causes very sluggish redisplay of characters displayed by
these fonts.  All this happens because the default for the
registry is "iso8859-1".  (Bug#24953)
lisp/international/fontset.el