(map-char-family): Modify for `<-subsumptive' and `<-denotational'.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 21 Nov 2016 05:06:46 +0000 (14:06 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 21 Nov 2016 05:06:46 +0000 (14:06 +0900)
lisp/utf-2000/chise-subr.el

index c6e968c..f978ddb 100644 (file)
                             (get-char-attribute (car rest) '->denotational)
                             (get-char-attribute (car rest) '->identical)))
          (unless ignore-sisters
-           (setq rest (append rest
-                              (get-char-attribute (car rest) '<-subsumptive)
-                              (get-char-attribute (car rest) '<-denotational)))))
+           (setq rest
+                 (append rest
+                         (if (setq ret (get-char-attribute
+                                        (car rest) '<-subsumptive))
+                             (list ret))
+                         (if (setq ret (get-char-attribute
+                                        (car rest) '<-denotational))
+                             (list ret))
+                         ))))
        (setq rest (cdr rest))))))