summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/seq.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-03-05 17:57:21 +0200
committerEli Zaretskii <eliz@gnu.org>2020-03-05 17:57:21 +0200
commit88c6db91961945e4ede53d66216c2484f0c5342b (patch)
treebe4a6e02f04a7ae0d502c92f4b6912399424a0b3 /lisp/emacs-lisp/seq.el
parent1814c7e158685045278f991de5eba4e40e8c8199 (diff)
downloademacs-88c6db91961945e4ede53d66216c2484f0c5342b.tar.gz
emacs-88c6db91961945e4ede53d66216c2484f0c5342b.tar.bz2
emacs-88c6db91961945e4ede53d66216c2484f0c5342b.zip
Avoid crashes when a fontset has strange entries
* src/fontset.c (reorder_font_vector): Skip nil entries in the loop that assigns scores to rfont_def's. (fontset_compare_rfontdef): Cope with nil. This has the effect of moving any nil entries to the end of the font-group, and avoids crashing if an element other than the last in the font-group is nil. (Bug#39892)
Diffstat (limited to 'lisp/emacs-lisp/seq.el')
0 files changed, 0 insertions, 0 deletions