summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources/warn-save-excursion.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-12-10 17:10:06 +0200
committerEli Zaretskii <eliz@gnu.org>2020-12-10 17:10:06 +0200
commit97c2bca729862ef5f50b03997e47b63b97b0d2c2 (patch)
tree4e1679f014b17835cdd2fdfe5b9d157824e40ea3 /test/lisp/emacs-lisp/bytecomp-resources/warn-save-excursion.el
parent6596b5541dd147749e2091953ac77bcd73c8d404 (diff)
downloademacs-97c2bca729862ef5f50b03997e47b63b97b0d2c2.tar.gz
emacs-97c2bca729862ef5f50b03997e47b63b97b0d2c2.tar.bz2
emacs-97c2bca729862ef5f50b03997e47b63b97b0d2c2.zip
Avoid segfaults in pos_visible_p
* src/xdisp.c (pos_visible_p): Don't try accessing the glyphs produced by iterator whose glyph_row was set to NULL; instead, record the X coordinate before the display string when moving past it, and use the recorded coordinate if needed. (Bug#45156)
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-save-excursion.el')
0 files changed, 0 insertions, 0 deletions