From 204db02a2b8826a72d49edd1ca8d32d6d33478c8 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 12 Apr 2014 11:49:05 +0300 Subject: [PATCH] Set category of Coptic characters be 'g' (Greek). --- lisp/ChangeLog | 1 + lisp/international/characters.el | 11 +++++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 94a3f61c1c4..78865ed8c48 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -2,6 +2,7 @@ * international/characters.el : Add entries for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243) + Set category of Coptic characters be 'g' (Greek). 2014-04-12 Leo Liu diff --git a/lisp/international/characters.el b/lisp/international/characters.el index e76fef9fd3e..63b2b4f0eda 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el @@ -798,13 +798,12 @@ with L, LRE, or LRO Unicode bidi character type.") (let ((from (car elt)) (to (cdr elt))) (while (< from to) (set-case-syntax-pair from (1+ from) tbl) - ;; There's no Coptic category. However, Coptic letters that - ;; are part of the Greek block above get the Greek category, - ;; and those in this block are derived from Greek letters, - ;; so let's be consistent about their category. - (modify-category-entry from ?g) - (modify-category-entry (1+ from) ?g) (setq from (+ from 2)))))) + ;; There's no Coptic category. However, Coptic letters that are + ;; part of the Greek block above get the Greek category, and those + ;; in this block are derived from Greek letters, so let's be + ;; consistent about their category. + (modify-category-entry '(#x2C80 . #x2CFF) ?g) ;; Fullwidth Latin (setq c #xff21) -- 2.39.2