Generate "../lisp/utf-2000/cid-conf.el" when char-DB generating stage,
authortomo <tomo>
Sat, 24 Jan 2004 10:07:45 +0000 (10:07 +0000)
committertomo <tomo>
Sat, 24 Jan 2004 10:07:45 +0000 (10:07 +0000)
and load it when dumping stage.

lisp/utf-2000/update-cdb.el

index bce7fd1..487eb67 100644 (file)
@@ -1,6 +1,6 @@
 ;;; update-cdb.el --- Update and/or setup character attribute database
 
-;; Copyright (C) 2002,2003 MORIOKA Tomohiko.
+;; Copyright (C) 2002,2003,2004 MORIOKA Tomohiko.
 
 ;; Author: MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
 ;; Keywords: Character, Database, CHISE, Unicode, UCS-4, MULE.
 
     (dolist (ccs (charset-list))
       (save-charset-mapping-table ccs))
+
+    (with-temp-buffer
+      (insert
+       (format
+       "(setq next-defined-char-id #x%X)\n"
+       next-defined-char-id))
+      (write-region (point-min)(point-max)
+                   "../lisp/utf-2000/cid-conf.el"))
     )
    (t
     (if (>= (function-max-args 'char-attribute-list) 1)
@@ -87,6 +95,7 @@
               nil nil t t)))
     (dolist (ccs (charset-list))
       (reset-charset-mapping-table ccs))
+    (load "../lisp/utf-2000/cid-conf.el")
     )))
  (t
   (load "dumped-chars.el")