aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index e68c4f6f292..86d6b75e187 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -5309,7 +5309,7 @@ pop_it (it)
5309 determine the paragraph base direction if the overlay we 5309 determine the paragraph base direction if the overlay we
5310 just processed is at the beginning of a new 5310 just processed is at the beginning of a new
5311 paragraph. */ 5311 paragraph. */
5312 if (it->bidi_it.first_elt) 5312 if (it->bidi_it.first_elt && it->bidi_it.charpos < ZV)
5313 bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it); 5313 bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it);
5314 /* prev_stop can be zero, so check against BEGV as well. */ 5314 /* prev_stop can be zero, so check against BEGV as well. */
5315 while (it->bidi_it.charpos >= BEGV 5315 while (it->bidi_it.charpos >= BEGV