X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Futf-2000%2Fmojikyo-conf.el;h=bc4515effc564c003a594de9bd3b116bfc4f558d;hb=d80d6a39d08c01fa110a284bb385a707fb2d0fef;hp=8cbb0cbf17c42cc752fd49f42766dca8cccbf706;hpb=9fccbbdf29f66570e9e10131de95d0b3e664f1f3;p=chise%2Fxemacs-chise.git- diff --git a/lisp/utf-2000/mojikyo-conf.el b/lisp/utf-2000/mojikyo-conf.el index 8cbb0cb..bc4515e 100644 --- a/lisp/utf-2000/mojikyo-conf.el +++ b/lisp/utf-2000/mojikyo-conf.el @@ -1,4 +1,55 @@ +;;; mojikyo-conf.el --- Setting for Mojikyo related coded-charsets + +;; Copyright (C) 2001,2002,2003 MORIOKA Tomohiko. + +;; Author: MORIOKA Tomohiko +;; Keywords: UTF-2000, ISO/IEC 10646, Unicode, UCS-4, MULE. + +;; This file is part of XEmacs UTF-2000. + +;; XEmacs UTF-2000 is free software; you can redistribute it and/or +;; modify it under the terms of the GNU General Public License as +;; published by the Free Software Foundation; either version 2, or (at +;; your option) any later version. + +;; XEmacs UTF-2000 is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with XEmacs UTF-2000; see the file COPYING. If not, write to +;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. + +;;; Code: + +;; (unless (memq 'mojikyo default-coded-charset-priority-list) +;; (setq default-coded-charset-priority-list +;; (append default-coded-charset-priority-list +;; '(mojikyo)))) + +(let ((i 1) + name) + (while (<= i 21) + (setq name (intern (format "mojikyo-pj-%d" i))) + (unless (memq name default-coded-charset-priority-list) + (setq default-coded-charset-priority-list + (append default-coded-charset-priority-list + (list name)))) + (setq i (1+ i)))) + (unless (memq 'mojikyo-2022-1 default-coded-charset-priority-list) (setq default-coded-charset-priority-list (append default-coded-charset-priority-list '(mojikyo-2022-1)))) + +(eval-after-load "char-db-util" + '(unless (memq 'mojikyo char-db-coded-charset-priority-list) + (setq char-db-coded-charset-priority-list + (append char-db-coded-charset-priority-list + '(mojikyo))))) + +(provide 'mojikyo-conf) + +;;; mojikyo-conf.el ends here