aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/xdisp.c8
2 files changed, 12 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c0e37f70c9c..018d4d1c418 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12010-05-10 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (init_iterator): Don't turn on bidi reordering in
4 unibyte buffers. See
5 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00263.html.
6
12010-05-10 Glenn Morris <rgm@gnu.org> 72010-05-10 Glenn Morris <rgm@gnu.org>
2 8
3 * Makefile.in (LIBS_SYSTEM): Set using configure, not cpp. 9 * Makefile.in (LIBS_SYSTEM): Set using configure, not cpp.
diff --git a/src/xdisp.c b/src/xdisp.c
index 1e16180f7c9..92478b8e1f9 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2698,8 +2698,12 @@ init_iterator (it, w, charpos, bytepos, row, base_face_id)
2698 /* Are multibyte characters enabled in current_buffer? */ 2698 /* Are multibyte characters enabled in current_buffer? */
2699 it->multibyte_p = !NILP (current_buffer->enable_multibyte_characters); 2699 it->multibyte_p = !NILP (current_buffer->enable_multibyte_characters);
2700 2700
2701 /* Do we need to reorder bidirectional text? */ 2701 /* Do we need to reorder bidirectional text? Not if this is a
2702 it->bidi_p = !NILP (current_buffer->bidi_display_reordering); 2702 unibyte buffer: all single-byte characters are by definition
2703 strong L2R, so no reordering is needed. And bidi.c doesn't
2704 support unibyte buffers anyway. */
2705 it->bidi_p
2706 = !NILP (current_buffer->bidi_display_reordering) && it->multibyte_p;
2703 2707
2704 /* Non-zero if we should highlight the region. */ 2708 /* Non-zero if we should highlight the region. */
2705 highlight_region_p 2709 highlight_region_p