summaryrefslogtreecommitdiff
path: root/lisp/textmodes/mhtml-mode.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-05-31 17:34:09 +0300
committerEli Zaretskii <eliz@gnu.org>2020-05-31 17:34:09 +0300
commitdc4db3ef09dd5851c48421757a5b5e0f439a143e (patch)
treeb78ee47bf2365b364669d121319c0771bf2824a0 /lisp/textmodes/mhtml-mode.el
parentabe7c22da96694ced1bc80ec7eb9eb8a662a568b (diff)
downloademacs-dc4db3ef09dd5851c48421757a5b5e0f439a143e.tar.gz
emacs-dc4db3ef09dd5851c48421757a5b5e0f439a143e.tar.bz2
emacs-dc4db3ef09dd5851c48421757a5b5e0f439a143e.zip
Protect bidi cache from inadvertent resets
* src/xdisp.c (Fline_pixel_height, Fmove_point_visually): Save and restore the bidi cache, to avoid inadvertently resetting it by starting a new iteration through buffer text. This could cause trouble if these functions are called during a redisplay cycle, especially while we were processing RTL text.
Diffstat (limited to 'lisp/textmodes/mhtml-mode.el')
0 files changed, 0 insertions, 0 deletions