Sync up with r21-4-22-chise-0_25-8.
[chise/xemacs-chise.git-] / lisp / utf-2000 / mojikyo-conf.el
1 ;;; mojikyo-conf.el --- Setting for Mojikyo related coded-charsets
2
3 ;; Copyright (C) 2001,2002,2003,2004 MORIOKA Tomohiko.
4
5 ;; Author: MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
6 ;; Keywords: UTF-2000, ISO/IEC 10646, Unicode, UCS-4, MULE.
7
8 ;; This file is part of XEmacs UTF-2000.
9
10 ;; XEmacs UTF-2000 is free software; you can redistribute it and/or
11 ;; modify it under the terms of the GNU General Public License as
12 ;; published by the Free Software Foundation; either version 2, or (at
13 ;; your option) any later version.
14
15 ;; XEmacs UTF-2000 is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 ;; General Public License for more details.
19
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with XEmacs UTF-2000; see the file COPYING.  If not, write to
22 ;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 ;; Boston, MA 02111-1307, USA.
24
25 ;;; Code:
26
27 (unless (memq 'mojikyo default-coded-charset-priority-list)
28   (setq default-coded-charset-priority-list
29         (append default-coded-charset-priority-list
30                 '(mojikyo))))
31
32 (let ((i 1)
33       name)
34   (while (<= i 21)
35     (setq name (intern (format "mojikyo-pj-%d" i)))
36     (unless (memq name default-coded-charset-priority-list)
37       (setq default-coded-charset-priority-list
38             (append default-coded-charset-priority-list
39                     (list name))))
40     (setq i (1+ i))))
41
42 (unless (memq 'mojikyo-2022-1 default-coded-charset-priority-list)
43   (setq default-coded-charset-priority-list
44         (append default-coded-charset-priority-list
45                 '(mojikyo-2022-1))))
46
47 (eval-after-load "char-db-util"
48   '(unless (memq 'mojikyo char-db-coded-charset-priority-list)
49      (setq char-db-coded-charset-priority-list
50            (append char-db-coded-charset-priority-list
51                    '(mojikyo)))))
52
53 (provide 'mojikyo-conf)
54
55 ;;; mojikyo-conf.el ends here