summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-10-05 22:19:39 +0300
committerEli Zaretskii <eliz@gnu.org>2015-10-05 22:19:39 +0300
commit0a74e2b590ca6b287f3c3d03e73e09a50b498fae (patch)
treec15dd92a61befad8edf07750e34eacf14ece4ad2
parent47e9556c70a7009d7c750fd7bf10a0e6cf41cdce (diff)
Fix composition-function-table for Arabic and Syriac
* lisp/language/misc-lang.el (composition-function-table): Fix entries for Arabic and Syriac.
-rw-r--r--lisp/language/misc-lang.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/language/misc-lang.el b/lisp/language/misc-lang.el
index b56d31f6e1..9815421b7f 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)