From: tomo Date: Tue, 2 Nov 2004 14:57:08 +0000 (+0000) Subject: (insert-char-attributes): Don't display `->fullwidth' for non UCS X-Git-Tag: r21-4-15-u2km-0_21-32-a~2^2~109 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=b967dbbbd1be53c8ebe0f79baad1a19355d22a22;p=chise%2Fxemacs-chise.git- (insert-char-attributes): Don't display `->fullwidth' for non UCS character when running with non-readable mode and it does not have `->fullwidth*sources'. --- diff --git a/lisp/utf-2000/char-db-util.el b/lisp/utf-2000/char-db-util.el index 7ed7c62..45d4fa1 100644 --- a/lisp/utf-2000/char-db-util.el +++ b/lisp/utf-2000/char-db-util.el @@ -879,6 +879,13 @@ (not (string-match "\\*sources$" (symbol-name name))) (or (eq name '<-identical) (string-match "^->halfwidth" (symbol-name name)) + (and + (string-match "^->fullwidth" (symbol-name name)) + (not + (and (consp value) + (characterp (car value)) + (encode-char + (car value) '=ucs 'defined-only)))) (string-match "^->simplified" (symbol-name name)) (string-match "^->vulgar" (symbol-name name)) (string-match "^->wrong" (symbol-name name))