summaryrefslogtreecommitdiff
path: root/lisp/language
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/language')
-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 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)