diff options
| author | Kenichi Handa | 2012-02-16 22:55:03 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2012-02-16 22:55:03 +0900 |
| commit | c406be4337317c4ff4e60dc74a10921bd1102cac (patch) | |
| tree | c3a8795fd1ca04090140842fa4bdd1d7955a4f1e /admin | |
| parent | f15bcb40f492d3b43a38447ba312fca35ce58ba2 (diff) | |
| download | emacs-c406be4337317c4ff4e60dc74a10921bd1102cac.tar.gz emacs-c406be4337317c4ff4e60dc74a10921bd1102cac.zip | |
Make the default values of character properties name, old-name, and iso-10646-comment to nil.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/ChangeLog | 6 | ||||
| -rw-r--r-- | admin/unidata/unidata-gen.el | 14 |
2 files changed, 13 insertions, 7 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index cc734d1393c..c7bfc0ddc6e 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-02-16 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * unidata/unidata-gen.el (unidata-prop-alist): Change the default | ||
| 4 | values of name and old-name to nil. | ||
| 5 | (unidata-get-name): Return nil for the default value. | ||
| 6 | |||
| 1 | 2012-02-11 Glenn Morris <rgm@gnu.org> | 7 | 2012-02-11 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * admin.el (cusver-find-files, cusver-scan, cusver-goto-xref) | 9 | * admin.el (cusver-find-files, cusver-scan, cusver-goto-xref) |
diff --git a/admin/unidata/unidata-gen.el b/admin/unidata/unidata-gen.el index 713b0512e09..d9277217f0e 100644 --- a/admin/unidata/unidata-gen.el +++ b/admin/unidata/unidata-gen.el | |||
| @@ -166,9 +166,10 @@ | |||
| 166 | '((name | 166 | '((name |
| 167 | 1 unidata-gen-table-name "uni-name.el" | 167 | 1 unidata-gen-table-name "uni-name.el" |
| 168 | "Unicode character name. | 168 | "Unicode character name. |
| 169 | Property value is a string." | 169 | Property value is a string or nil. |
| 170 | The value nil stands for the default value \"null string\")." | ||
| 170 | nil | 171 | nil |
| 171 | "") | 172 | nil) |
| 172 | (general-category | 173 | (general-category |
| 173 | 2 unidata-gen-table-symbol "uni-category.el" | 174 | 2 unidata-gen-table-symbol "uni-category.el" |
| 174 | "Unicode general category. | 175 | "Unicode general category. |
| @@ -235,7 +236,8 @@ Property value is a symbol `Y' or `N'. See also the property `mirroring'." | |||
| 235 | (old-name | 236 | (old-name |
| 236 | 10 unidata-gen-table-name "uni-old-name.el" | 237 | 10 unidata-gen-table-name "uni-old-name.el" |
| 237 | "Unicode old names as published in Unicode 1.0. | 238 | "Unicode old names as published in Unicode 1.0. |
| 238 | Property value is a string.") | 239 | Property value is a string or nil. |
| 240 | The value nil stands for the default value \"null string\").") | ||
| 239 | (iso-10646-comment | 241 | (iso-10646-comment |
| 240 | 11 unidata-gen-table-name "uni-comment.el" | 242 | 11 unidata-gen-table-name "uni-comment.el" |
| 241 | "Unicode ISO 10646 comment. | 243 | "Unicode ISO 10646 comment. |
| @@ -712,7 +714,7 @@ is the character itself."))) | |||
| 712 | (aset table c name) | 714 | (aset table c name) |
| 713 | (if (= c char) | 715 | (if (= c char) |
| 714 | (setq val name)))) | 716 | (setq val name)))) |
| 715 | (or val "")))) | 717 | val))) |
| 716 | 718 | ||
| 717 | ((and (integerp val) (> val 0)) | 719 | ((and (integerp val) (> val 0)) |
| 718 | (let* ((symbol-table (aref (char-table-extra-slot table 4) 1)) | 720 | (let* ((symbol-table (aref (char-table-extra-slot table 4) 1)) |
| @@ -738,9 +740,7 @@ is the character itself."))) | |||
| 738 | ((eq sym 'CJK\ COMPATIBILITY\ IDEOGRAPH) | 740 | ((eq sym 'CJK\ COMPATIBILITY\ IDEOGRAPH) |
| 739 | (format "%s-%04X" sym char)) | 741 | (format "%s-%04X" sym char)) |
| 740 | ((eq sym 'VARIATION\ SELECTOR) | 742 | ((eq sym 'VARIATION\ SELECTOR) |
| 741 | (format "%s-%d" sym (+ (- char #xe0100) 17)))))) | 743 | (format "%s-%d" sym (+ (- char #xe0100) 17)))))))) |
| 742 | |||
| 743 | (t ""))) | ||
| 744 | 744 | ||
| 745 | ;; Store VAL as the name of CHAR in TABLE. | 745 | ;; Store VAL as the name of CHAR in TABLE. |
| 746 | 746 | ||