From: Eli Zaretskii Date: Fri, 23 Apr 2010 15:24:39 +0000 (+0300) Subject: xdisp.c (pop_it): Fix last change. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~417 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=706a0137ff6a830879ee24e5ad030c8e448db9b0;p=emacs.git xdisp.c (pop_it): Fix last change. --- 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) determine the paragraph base direction if the overlay we just processed is at the beginning of a new paragraph. */ - if (it->bidi_it.first_elt) + if (it->bidi_it.first_elt && it->bidi_it.charpos < ZV) bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it); /* prev_stop can be zero, so check against BEGV as well. */ while (it->bidi_it.charpos >= BEGV