From: tomo Date: Thu, 8 Apr 2004 11:17:54 +0000 (+0000) Subject: (char-db-dump-ruimoku6): Use `char-db-file-coding-system'. X-Git-Tag: chise-base-0_23~34 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2adb1733bd4279033b12c8388ca46d5604ce5040;p=chise%2Ftomoyo-tools.git (char-db-dump-ruimoku6): Use `char-db-file-coding-system'. --- diff --git a/char-db-dump.el b/char-db-dump.el index b13b32a..f3aec36 100644 --- a/char-db-dump.el +++ b/char-db-dump.el @@ -140,11 +140,12 @@ ;;;###autoload (defun char-db-dump-ruimoku6 (directory) (interactive "DDump ruimoku6 : ") - (let ((coding-system-for-write 'utf-8-mcs) + (let ((coding-system-for-write char-db-file-coding-system) (code #xE000) chr) (with-temp-buffer - (insert ";; -*- coding: utf-8-mcs -*-\n") + (insert (format ";; -*- coding: %s -*-\n" + char-db-file-coding-system)) (while (<= code #xE8FF) (when (setq chr (decode-char '=ruimoku-v6 code 'defined-only)) (insert-char-data chr))