From: Eli Zaretskii Date: Thu, 13 Jun 2019 09:41:37 +0000 (+0300) Subject: Fix display of Hebrew text with precomposed characters X-Git-Tag: emacs-27.0.90~2574 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2f4b4c8571d61892ab03015147b9665d32bfc0c7;p=emacs.git Fix display of Hebrew text with precomposed characters * lisp/language/hebrew.el (base): Include precomposed Hebrew characters from the Alphabetic Presentation Forms in the composition patterns. (Bug#36171) --- diff --git a/lisp/language/hebrew.el b/lisp/language/hebrew.el index b493c291c24..cda5765c7f6 100644 --- a/lisp/language/hebrew.el +++ b/lisp/language/hebrew.el @@ -238,8 +238,9 @@ Bidirectional editing is supported."))) (setq idx (1+ idx))))))) gstring)) -(let* ((base "[\u05D0-\u05F2]") - (combining "[\u0591-\u05BD\u05BF\u05C1-\u05C2\u05C4-\u05C5\u05C7]+") +(let* ((base "[\u05D0-\u05F2\uFB1D\uFB1F-\uFB28\uFB2A-\uFB4F]") + (combining + "[\u0591-\u05BD\u05BF\u05C1-\u05C2\u05C4-\u05C5\u05C7\uFB1E]+") (pattern1 (concat base combining)) (pattern2 (concat base "\u200D" combining))) (set-char-table-range