diff options
| author | Eli Zaretskii | 2010-11-26 21:10:26 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2010-11-26 21:10:26 +0200 |
| commit | 228482b229c76c443ee4dea077bd0303cfbf5bc9 (patch) | |
| tree | 84829b4b339ae8284fbe0a95556e307f51736a72 /src | |
| parent | a2249e66f36a6454602b8f17593095881a4894a3 (diff) | |
| download | emacs-228482b229c76c443ee4dea077bd0303cfbf5bc9.tar.gz emacs-228482b229c76c443ee4dea077bd0303cfbf5bc9.zip | |
Force left-to-right paragraph direction in echo area and prog-mode buffers.
src/xdisp.c (set_message_1): Force paragraph direction in echo area
be left-to-right.
lisp/simple.el (prog-mode): Set bidi-paragraph-direction to left-to-right.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index eac550a7334..8c98b52e6aa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-11-26 Eli Zaretskii <eliz@gnu.org> | 1 | 2010-11-26 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * xdisp.c (set_message_1): Force paragraph direction in echo area | ||
| 4 | be left-to-right. | ||
| 5 | |||
| 3 | * keyboard.c (make_lispy_position): Put a meaningful value in yret | 6 | * keyboard.c (make_lispy_position): Put a meaningful value in yret |
| 4 | when the click is on the header or mode line. | 7 | when the click is on the header or mode line. |
| 5 | 8 | ||
diff --git a/src/xdisp.c b/src/xdisp.c index fd80d7a0208..77e9db2e5eb 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -9384,6 +9384,8 @@ set_message_1 (EMACS_INT a1, Lisp_Object a2, EMACS_INT nbytes, EMACS_INT multiby | |||
| 9384 | Fset_buffer_multibyte (message_enable_multibyte ? Qt : Qnil); | 9384 | Fset_buffer_multibyte (message_enable_multibyte ? Qt : Qnil); |
| 9385 | 9385 | ||
| 9386 | current_buffer->truncate_lines = message_truncate_lines ? Qt : Qnil; | 9386 | current_buffer->truncate_lines = message_truncate_lines ? Qt : Qnil; |
| 9387 | if (!NILP (current_buffer->bidi_display_reordering)) | ||
| 9388 | current_buffer->bidi_paragraph_direction = Qleft_to_right; | ||
| 9387 | 9389 | ||
| 9388 | /* Insert new message at BEG. */ | 9390 | /* Insert new message at BEG. */ |
| 9389 | TEMP_SET_PT_BOTH (BEG, BEG_BYTE); | 9391 | TEMP_SET_PT_BOTH (BEG, BEG_BYTE); |