Use `mount-char-attribute-table' instead of
authortomo <tomo>
Wed, 3 Jul 2002 06:05:39 +0000 (06:05 +0000)
committertomo <tomo>
Wed, 3 Jul 2002 06:05:39 +0000 (06:05 +0000)
`reset-char-attribute-table'; don't reset char-attribute-tables.

lisp/utf-2000/update-cdb.el

index 51b98d2..3eadd0b 100644 (file)
@@ -59,8 +59,9 @@
          (setq i (1+ i))))
       (concat dest (substring filename base len))))
 
-  (when (or load-ignore-elc-files
-           (not (file-exists-p system-char-database-directory)))
+  (cond
+   ((or load-ignore-elc-files
+       (not (file-exists-p system-char-database-directory)))
     (if (file-exists-p system-char-database-directory)
        (delete-file-with-children system-char-database-directory))
 
       (save-char-attribute-table attribute))
 
     (dolist (ccs (charset-list))
-      (save-charset-mapping-table ccs)))
-
-  (mapcar (lambda (file)
-           (reset-char-attribute-table
-            (intern (file-name-char-attribute-name file))))
-         (directory-files
-          (expand-file-name "system-char-id"
-                            system-char-database-directory)
-          nil nil t t))
-  )
+      (save-charset-mapping-table ccs))
+    )
+   (t
+    (mapcar (lambda (file)
+             (mount-char-attribute-table
+              (intern (file-name-char-attribute-name file))))
+           (directory-files
+            (expand-file-name "system-char-id"
+                              system-char-database-directory)
+            nil nil t t))
+    )))
  (t
   (load "dumped-chars.el")
   (dolist (file system-char-db-source-file-list)