summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp-mode.el
diff options
context:
space:
mode:
authorPhilip <pipcet@gmail.com>2015-09-05 11:08:57 +0300
committerEli Zaretskii <eliz@gnu.org>2015-09-05 11:08:57 +0300
commit90937cbfe48229028d839a5e8c5815020e84b235 (patch)
tree0972dc7b4397159972b951d370bbc6e2fb08f145 /lisp/emacs-lisp/lisp-mode.el
parent8a6260e1e14ab1523c195001454c98aaa044ea64 (diff)
downloademacs-90937cbfe48229028d839a5e8c5815020e84b235.tar.gz
emacs-90937cbfe48229028d839a5e8c5815020e84b235.tar.bz2
emacs-90937cbfe48229028d839a5e8c5815020e84b235.zip
Fix segfaults due to using a stale face ID
* src/xdisp.c (forget_escape_and_glyphless_faces): New function. (display_echo_area_1, redisplay_internal): Call it to avoid reusing stale face IDs for 'escape-glyph' and 'glyphless-char' faces, which could case a segfault if the frame's face cache was freed since the last redisplay. (Bug#21394) * src/xfaces.c (free_realized_faces): Call forget_escape_and_glyphless_faces. * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype. Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions