summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/debug.el
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2020-09-11 10:29:24 +0200
committerRobert Pluim <rpluim@gmail.com>2020-09-15 17:39:24 +0200
commit20d13e424fb2e7dcc5e6ea1848bca4376d22bab1 (patch)
treeb34403ca88e4c0a2d2f073073a5075c0fa06744b /lisp/emacs-lisp/debug.el
parent0a7152e095e51febedf3da794eacb3a6b538e64e (diff)
downloademacs-20d13e424fb2e7dcc5e6ea1848bca4376d22bab1.tar.gz
emacs-20d13e424fb2e7dcc5e6ea1848bca4376d22bab1.tar.bz2
emacs-20d13e424fb2e7dcc5e6ea1848bca4376d22bab1.zip
Stop querying for fonts as soon as a match is found
Scanning through fonts can be very slow, especially with the 'x' font backend, and the result is almost always not used. Stop looking for a font as soon as one is found rather than scanning all the backends. * src/font.c (font_list_entities): Stop scanning through the font backends as soon as we find a match unless 'query-all-font-backends is set (Bug#43177). (syms_of_font): New variable 'query-all-font-backends', default false.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions