summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2014-04-12 11:49:05 +0300
committerEli Zaretskii <eliz@gnu.org>2014-04-12 11:49:05 +0300
commit204db02a2b8826a72d49edd1ca8d32d6d33478c8 (patch)
treeacfe9e30809fa801e923d636bb2c4ff45d3ca5af
parentac387dd13eaa4249a54dd1c3a72f3efed2ee7ce9 (diff)
downloademacs-204db02a2b8826a72d49edd1ca8d32d6d33478c8.tar.gz
Set category of Coptic characters be 'g' (Greek).
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/international/characters.el11
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 <standard-case-table>: 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 <sdl.web@gmail.com>
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)