2010-11-26 Eli Zaretskii <eliz@gnu.org>
+ * simple.el (prog-mode): Set bidi-paragraph-direction to
+ left-to-right.
+
* term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2010-11-26 Glenn Morris <rgm@gnu.org>
(define-derived-mode prog-mode fundamental-mode "Prog"
"Major mode for editing programming language source code."
(set (make-local-variable 'require-final-newline) mode-require-final-newline)
- (set (make-local-variable 'parse-sexp-ignore-comments) t))
+ (set (make-local-variable 'parse-sexp-ignore-comments) t)
+ ;; Any programming language is always written left to right.
+ (setq bidi-paragraph-direction 'left-to-right))
;; Making and deleting lines.
2010-11-26 Eli Zaretskii <eliz@gnu.org>
+ * xdisp.c (set_message_1): Force paragraph direction in echo area
+ be left-to-right.
+
* keyboard.c (make_lispy_position): Put a meaningful value in yret
when the click is on the header or mode line.
Fset_buffer_multibyte (message_enable_multibyte ? Qt : Qnil);
current_buffer->truncate_lines = message_truncate_lines ? Qt : Qnil;
+ if (!NILP (current_buffer->bidi_display_reordering))
+ current_buffer->bidi_paragraph_direction = Qleft_to_right;
/* Insert new message at BEG. */
TEMP_SET_PT_BOTH (BEG, BEG_BYTE);