(unidata-describe-decomposition): Return
authorKenichi Handa <handa@m17n.org>
Thu, 9 Apr 2009 11:06:49 +0000 (11:06 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 9 Apr 2009 11:06:49 +0000 (11:06 +0000)
a string with a composition property to disable combining
characters being composed.

admin/ChangeLog
admin/unidata/unidata-gen.el

index 299190b..8e3a484 100644 (file)
@@ -1,3 +1,9 @@
+2009-04-09  Kenichi Handa  <handa@m17n.org>
+
+       * unidata/unidata-gen.el (unidata-describe-decomposition): Return
+       a string with a composition property to disable combining
+       characters being composed.
+
 2009-03-11  Miles Bader  <Miles Bader <miles@gnu.org>>
 
        * quick-install-emacs: Be more clever about locating info directory.
index d82ba7a..5a03fd7 100644 (file)
@@ -1134,8 +1134,13 @@ Property value is a character."
               (ON . "Other Neutrals")))))
 
 (defun unidata-describe-decomposition (val)
-  (mapconcat #'(lambda (x) (if (symbolp x) (symbol-name x) (string ?' x ?')))
-            val " "))
+  (mapconcat
+   #'(lambda (x)
+       (if (symbolp x) (symbol-name x)
+        (concat (string ?')
+                (compose-string (string x) 0 1 (string ?\t x ?\t))
+                (string ?'))))
+   val " "))
 
 ;; Verify if we can retrieve correct values from the generated
 ;; char-tables.