diff options
| author | Eli Zaretskii | 2014-04-12 11:49:05 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-04-12 11:49:05 +0300 |
| commit | 204db02a2b8826a72d49edd1ca8d32d6d33478c8 (patch) | |
| tree | acfe9e30809fa801e923d636bb2c4ff45d3ca5af | |
| parent | ac387dd13eaa4249a54dd1c3a72f3efed2ee7ce9 (diff) | |
| download | emacs-204db02a2b8826a72d49edd1ca8d32d6d33478c8.tar.gz emacs-204db02a2b8826a72d49edd1ca8d32d6d33478c8.zip | |
Set category of Coptic characters be 'g' (Greek).
| -rw-r--r-- | lisp/ChangeLog | 1 | ||||
| -rw-r--r-- | 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 @@ | |||
| 2 | 2 | ||
| 3 | * international/characters.el <standard-case-table>: Add entries | 3 | * international/characters.el <standard-case-table>: Add entries |
| 4 | for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243) | 4 | for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243) |
| 5 | Set category of Coptic characters be 'g' (Greek). | ||
| 5 | 6 | ||
| 6 | 2014-04-12 Leo Liu <sdl.web@gmail.com> | 7 | 2014-04-12 Leo Liu <sdl.web@gmail.com> |
| 7 | 8 | ||
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.") | |||
| 798 | (let ((from (car elt)) (to (cdr elt))) | 798 | (let ((from (car elt)) (to (cdr elt))) |
| 799 | (while (< from to) | 799 | (while (< from to) |
| 800 | (set-case-syntax-pair from (1+ from) tbl) | 800 | (set-case-syntax-pair from (1+ from) tbl) |
| 801 | ;; There's no Coptic category. However, Coptic letters that | ||
| 802 | ;; are part of the Greek block above get the Greek category, | ||
| 803 | ;; and those in this block are derived from Greek letters, | ||
| 804 | ;; so let's be consistent about their category. | ||
| 805 | (modify-category-entry from ?g) | ||
| 806 | (modify-category-entry (1+ from) ?g) | ||
| 807 | (setq from (+ from 2)))))) | 801 | (setq from (+ from 2)))))) |
| 802 | ;; There's no Coptic category. However, Coptic letters that are | ||
| 803 | ;; part of the Greek block above get the Greek category, and those | ||
| 804 | ;; in this block are derived from Greek letters, so let's be | ||
| 805 | ;; consistent about their category. | ||
| 806 | (modify-category-entry '(#x2C80 . #x2CFF) ?g) | ||
| 808 | 807 | ||
| 809 | ;; Fullwidth Latin | 808 | ;; Fullwidth Latin |
| 810 | (setq c #xff21) | 809 | (setq c #xff21) |