aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/international/textsec.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/international/textsec.el b/lisp/international/textsec.el
index 1540f806e3b..e69e7c19842 100644
--- a/lisp/international/textsec.el
+++ b/lisp/international/textsec.el
@@ -320,7 +320,8 @@ affected by bidi controls in STRING."
320 ;; state at end of STRING which could then affect the following 320 ;; state at end of STRING which could then affect the following
321 ;; text. 321 ;; text.
322 (insert string "a1א:!") 322 (insert string "a1א:!")
323 (let ((pos (bidi-find-overridden-directionality 1 (point-max) nil))) 323 (let ((pos (bidi-find-overridden-directionality
324 (point-min) (point-max) nil)))
324 (and (fixnump pos) 325 (and (fixnump pos)
325 (1- pos))))) 326 (1- pos)))))
326 327