Add temporary setting to convert `shinjigen-1' and `shinjigen-2' to
authortomo <tomo>
Wed, 13 Aug 2008 03:10:13 +0000 (03:10 +0000)
committertomo <tomo>
Wed, 13 Aug 2008 03:10:13 +0000 (03:10 +0000)
`shinjigen@1ed' and `shinjigen@rev' in *sources features.

lisp/utf-2000/maps-conf.el

index 2176f2e..ea88545 100644 (file)
         (put-char-attribute (decode-char ccs v) '=gt gt))
        nil)
      ccs)))
+
+(let (ret)
+  (dolist (feature
+          (let (dest)
+            (dolist (feature (char-attribute-list))
+              (when (string-match "\\*sources\\($\\|@[^\\*]+$\\)"
+                                  (symbol-name feature))
+                (setq dest (cons feature dest))))
+            dest))
+    (map-char-attribute
+     (lambda (c v)
+       (when (setq ret (memq 'shinjigen-1 v))
+        (setcar ret 'shinjigen@1ed))
+       (when (setq ret (memq 'shinjigen-2 v))
+        (setcar ret 'shinjigen@rev))
+       nil)
+     feature)))