From 0a74e2b590ca6b287f3c3d03e73e09a50b498fae Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 5 Oct 2015 22:19:39 +0300 Subject: [PATCH] Fix composition-function-table for Arabic and Syriac * lisp/language/misc-lang.el (composition-function-table): Fix entries for Arabic and Syriac. --- lisp/language/misc-lang.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/language/misc-lang.el b/lisp/language/misc-lang.el index b56d31f6e16..9815421b7f0 100644 --- a/lisp/language/misc-lang.el +++ b/lisp/language/misc-lang.el @@ -77,9 +77,9 @@ and Italian."))) (set-char-table-range composition-function-table - '(#x600 . #x6FF) - (list ["\u200D?[\u0600-\u074F]+[\u200D\u200C]*[\u0600-\u074F]+\u200D?" - 0 font-shape-gstring])) + '(#x600 . #x74F) + (list ["[\u0600-\u074F\u200C\u200D]+" 0 'font-shape-gstring] + ["[\u200C\u200D][\u0600-\u074F\u200C\u200D]+" 1 'font-shape-gstring])) (provide 'misc-lang) -- 2.39.2