(insert-char-attributes): Don't display `->vulgar' when running with
authortomo <tomo>
Sun, 18 Apr 2004 16:50:18 +0000 (16:50 +0000)
committertomo <tomo>
Sun, 18 Apr 2004 16:50:18 +0000 (16:50 +0000)
non-readable mode; Add some CCSs corresponding with shinjigen-1
specified in {<-|->}FOO*sources into required-features.

lisp/utf-2000/char-db-util.el

index 3495f53..104f52d 100644 (file)
                 )
                ((and (not readable)
                      (or (eq name '<-identical)
-                         (string-match "^->simplified" (symbol-name name))))
+                         (string-match "^->simplified" (symbol-name name))
+                         (string-match "^->vulgar" (symbol-name name))
+                         ))
                 )
                ((or (eq name 'ideographic-structure)
                     (eq name 'ideographic-)
                          (setq required-features nil)
                          (dolist (source sources)
                            (cond
-                            ((find-charset
-                              (setq ret (intern (format "=%s" source))))
-                             (setq required-features
-                                   (cons ret required-features)))
-                            ((memq source '(JP JP/Jouyou))
+                            ((memq source '(JP JP/Jouyou
+                                               shinjigen-1))
                              (setq required-features
                                    (union required-features
                                           '(=jis-x0208
                                    (union required-features
                                           '(=gb2312
                                             =gb12345
-                                            =iso-ir165))))
+                                            =iso-ir165)))))
+                           (cond
+                            ((find-charset
+                              (setq ret (intern (format "=%s" source))))
+                             (setq required-features
+                                   (cons ret required-features)))
                             (t (setq required-features
                                      (cons source required-features)))))
                          (cond ((string-match "@JP" (symbol-name name))