1998-09-21 Tanaka Akira <akr@jaist.ac.jp>
+ * mel.el: Use `broken-p' to check facility.
+
+1998-09-21 Tanaka Akira <akr@jaist.ac.jp>
+
* mel-ccl.el:
- Require 'pccl instead of 'emu.
- Use `unless-broken' to check facility.
;;; Code:
-(require 'emu)
+(require 'pccl)
;;; @ encoder/decoder selection framework
(mel-usemodule "mel-ccl" quoted-printable ccl (fboundp 'make-ccl-coding-system))
(mel-usemodule "mel-ccl" q-encoding ccl (fboundp 'make-ccl-coding-system))
-(defvar ccl-encoder-eof-block-is-broken nil)
+(mel-defmethod base64-encode-string ccl (not (broken-p 'ccl-execute-eof-block-on-encoding-some)))
+(mel-defmethod base64-encode-region ccl (not (broken-p 'ccl-execute-eof-block-on-encoding-some)))
+(mel-defmethod base64-insert-encoded-file ccl (not (broken-p 'ccl-execute-eof-block-on-encoding-some)))
-(mel-defmethod base64-encode-string ccl (not ccl-encoder-eof-block-is-broken))
-(mel-defmethod base64-encode-region ccl (not ccl-encoder-eof-block-is-broken))
-(mel-defmethod base64-insert-encoded-file ccl (not ccl-encoder-eof-block-is-broken))
-
-(mel-defmethod quoted-printable-encode-string ccl (not ccl-encoder-eof-block-is-broken))
-(mel-defmethod quoted-printable-encode-region ccl (not ccl-encoder-eof-block-is-broken))
-(mel-defmethod quoted-printable-insert-encoded-file ccl (not ccl-encoder-eof-block-is-broken))
+(mel-defmethod quoted-printable-encode-string ccl (not (broken-p 'ccl-execute-eof-block-on-encoding-some)))
+(mel-defmethod quoted-printable-encode-region ccl (not (broken-p 'ccl-execute-eof-block-on-encoding-some)))
+(mel-defmethod quoted-printable-insert-encoded-file ccl (not (broken-p 'ccl-execute-eof-block-on-encoding-some)))
(mel-defmethod base64-decode-string ccl)
(mel-defmethod base64-decode-region ccl)