aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/simple.el4
-rw-r--r--src/ChangeLog3
-rw-r--r--src/xdisp.c2
4 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0e9bd5bc718..47d352df116 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12010-11-26 Eli Zaretskii <eliz@gnu.org> 12010-11-26 Eli Zaretskii <eliz@gnu.org>
2 2
3 * simple.el (prog-mode): Set bidi-paragraph-direction to
4 left-to-right.
5
3 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS. 6 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4 7
52010-11-26 Glenn Morris <rgm@gnu.org> 82010-11-26 Glenn Morris <rgm@gnu.org>
diff --git a/lisp/simple.el b/lisp/simple.el
index aa4b9a97182..3b9bfc0519a 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -441,7 +441,9 @@ Other major modes are defined by comparison with this one."
441(define-derived-mode prog-mode fundamental-mode "Prog" 441(define-derived-mode prog-mode fundamental-mode "Prog"
442 "Major mode for editing programming language source code." 442 "Major mode for editing programming language source code."
443 (set (make-local-variable 'require-final-newline) mode-require-final-newline) 443 (set (make-local-variable 'require-final-newline) mode-require-final-newline)
444 (set (make-local-variable 'parse-sexp-ignore-comments) t)) 444 (set (make-local-variable 'parse-sexp-ignore-comments) t)
445 ;; Any programming language is always written left to right.
446 (setq bidi-paragraph-direction 'left-to-right))
445 447
446;; Making and deleting lines. 448;; Making and deleting lines.
447 449
diff --git a/src/ChangeLog b/src/ChangeLog
index eac550a7334..8c98b52e6aa 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12010-11-26 Eli Zaretskii <eliz@gnu.org> 12010-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);