From: Dave Love Date: Mon, 28 Oct 2002 18:43:41 +0000 (+0000) Subject: (cp-make-coding-system): Use X-Git-Tag: ttn-vms-21-2-B4~12685 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fe8d896ad7e249959fc968bfbc34e3a339229044;p=emacs.git (cp-make-coding-system): Use utf-translation-table-for-decode, not utf-8-translation-table-for-decode. (mule-diag): Require. --- diff --git a/lisp/international/code-pages.el b/lisp/international/code-pages.el index b681d4d7d66..f7609659e43 100644 --- a/lisp/international/code-pages.el +++ b/lisp/international/code-pages.el @@ -54,6 +54,8 @@ ;;; Code: +(require 'mule-diag) ; for non-iso-charset-alist + (defun cp-make-translation-table (v) "Return a translation table made from 128-long vector V. V comprises characters encodable by mule-utf-8." @@ -174,7 +176,7 @@ corresponding args of `make-coding-system'. If MNEMONIC isn't given, (translate-character ,decoder r0 r1) ;; Allow fragmentation on decoding -- relevant for ;; Cyrillic, Greek and, possibly Arabic and Hebrew. - (translate-character utf-8-translation-table-for-decode r0 r1) + (translate-character utf-translation-table-for-decode r0 r1) (write-multibyte-character r0 r1) (repeat)))))) (ccl-encoder