diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/xdisp.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f52e8cad479..d4d6a4c4bbd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-08-24 Eli Zaretskii <eliz@gnu.org> | 1 | 2011-08-24 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * xdisp.c (Fcurrent_bidi_paragraph_direction): For unibyte | ||
| 4 | buffers, return left-to-right. | ||
| 5 | |||
| 3 | * bidi.c (bidi_check_type): Use xassert. | 6 | * bidi.c (bidi_check_type): Use xassert. |
| 4 | (bidi_cache_iterator_state): Update the disp_pos and disp_prop_p | 7 | (bidi_cache_iterator_state): Update the disp_pos and disp_prop_p |
| 5 | members. | 8 | members. |
diff --git a/src/xdisp.c b/src/xdisp.c index 6a11628f858..8b3a71027b6 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -19014,7 +19014,8 @@ See also `bidi-paragraph-direction'. */) | |||
| 19014 | buf = XBUFFER (buffer); | 19014 | buf = XBUFFER (buffer); |
| 19015 | } | 19015 | } |
| 19016 | 19016 | ||
| 19017 | if (NILP (BVAR (buf, bidi_display_reordering))) | 19017 | if (NILP (BVAR (buf, bidi_display_reordering)) |
| 19018 | || NILP (BVAR (buf, enable_multibyte_characters))) | ||
| 19018 | return Qleft_to_right; | 19019 | return Qleft_to_right; |
| 19019 | else if (!NILP (BVAR (buf, bidi_paragraph_direction))) | 19020 | else if (!NILP (BVAR (buf, bidi_paragraph_direction))) |
| 19020 | return BVAR (buf, bidi_paragraph_direction); | 19021 | return BVAR (buf, bidi_paragraph_direction); |