Commit 66e0570c authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix part 3 of bug #10183 with input-method prompt in I-search.

 lisp/isearch.el (isearch-message-prefix): Run the input method part
 of the prompt through bidi-string-mark-left-to-right.
parent 02b16839
2011-12-02 Eli Zaretskii <eliz@gnu.org>
* isearch.el (isearch-message-prefix): Run the input method part
of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2011-12-02 Juri Linkov <juri@jurta.org> 2011-12-02 Juri Linkov <juri@jurta.org>
* isearch.el (isearch-occur): Use `word-search-regexp' for * isearch.el (isearch-occur): Use `word-search-regexp' for
......
...@@ -2225,7 +2225,11 @@ If there is no completion possible, say so and continue searching." ...@@ -2225,7 +2225,11 @@ If there is no completion possible, say so and continue searching."
(if nonincremental "search" "I-search") (if nonincremental "search" "I-search")
(if isearch-forward "" " backward") (if isearch-forward "" " backward")
(if current-input-method (if current-input-method
(concat " [" current-input-method-title "]: ") ;; Input methods for RTL languages use RTL
;; characters for their title, and that messes
;; up the display of the prompt.
(bidi-string-mark-left-to-right
(concat " [" current-input-method-title "]: "))
": ") ": ")
))) )))
(propertize (concat (upcase (substring m 0 1)) (substring m 1)) (propertize (concat (upcase (substring m 0 1)) (substring m 1))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment