summaryrefslogtreecommitdiff
path: root/lisp/language
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-06-13 12:41:37 +0300
committerEli Zaretskii <eliz@gnu.org>2019-06-13 12:41:37 +0300
commit2f4b4c8571d61892ab03015147b9665d32bfc0c7 (patch)
tree282d2df312bb61599d936d8e7168d1dd8689f8d6 /lisp/language
parent52305bcb5140355b8405f4ad9aca95eee9bf2b97 (diff)
downloademacs-2f4b4c8571d61892ab03015147b9665d32bfc0c7.tar.gz
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)
Diffstat (limited to 'lisp/language')
-rw-r--r--lisp/language/hebrew.el5
1 files changed, 3 insertions, 2 deletions
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