From: Eli Zaretskii Date: Sat, 12 Apr 2014 08:49:05 +0000 (+0300) Subject: Set category of Coptic characters be 'g' (Greek). X-Git-Tag: emacs-24.3.90~4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=204db02a2b8826a72d49edd1ca8d32d6d33478c8;p=emacs.git Set category of Coptic characters be 'g' (Greek). --- 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)