From: yamaoka Date: Mon, 14 Dec 1998 02:41:11 +0000 (+0000) Subject: * mel-b-ccl.el (base64-ccl-insert-encoded-file): Use X-Git-Tag: flim-1_12-199812141900~1 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a685a26284746387460c6d938f36ffe56fcabbc7;p=elisp%2Fflim.git * mel-b-ccl.el (base64-ccl-insert-encoded-file): Use `insert-file-contents-as-coding-system' (renamed from `insert-file-contents-as-specified-coding-system'). * mel-q-ccl.el (quoted-printable-ccl-insert-encoded-file): Likewise. * mel-b-ccl.el (base64-ccl-write-decoded-region): Use `write-region-as-coding-system' (renamed from `write-region-as-specified-coding-system'). * mel-q-ccl.el (quoted-printable-ccl-write-decoded-region): Likewise. --- diff --git a/ChangeLog b/ChangeLog index 4968a5e..f682047 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +1998-12-14 Katsumi Yamaoka + + * mel-b-ccl.el (base64-ccl-insert-encoded-file): Use + `insert-file-contents-as-coding-system' (renamed from + `insert-file-contents-as-specified-coding-system'). + * mel-q-ccl.el (quoted-printable-ccl-insert-encoded-file): + Likewise. + + * mel-b-ccl.el (base64-ccl-write-decoded-region): Use + `write-region-as-coding-system' (renamed from + `write-region-as-specified-coding-system'). + * mel-q-ccl.el (quoted-printable-ccl-write-decoded-region): + Likewise. + 1998-12-08 Katsumi Yamaoka * smtp.el (smtp-coding-system): Abolished. diff --git a/mel-b-ccl.el b/mel-b-ccl.el index b58db78..e986d43 100644 --- a/mel-b-ccl.el +++ b/mel-b-ccl.el @@ -406,8 +406,7 @@ abcdefghijklmnopqrstuvwxyz\ (defun base64-ccl-insert-encoded-file (filename) "Encode contents of file FILENAME to base64, and insert the result." (interactive (list (read-file-name "Insert encoded file: "))) - (insert-file-contents-as-specified-coding-system - filename 'mel-ccl-base64-lf-rev)) + (insert-file-contents-as-coding-system filename 'mel-ccl-base64-lf-rev)) (mel-define-method-function (mime-encode-string string (nil "base64")) 'base64-ccl-encode-string) @@ -435,8 +434,7 @@ abcdefghijklmnopqrstuvwxyz\ (interactive (list (region-beginning) (region-end) (read-file-name "Write decoded region to file: "))) - (write-region-as-specified-coding-system - start end filename 'mel-ccl-b-rev)) + (write-region-as-coding-system start end filename 'mel-ccl-b-rev)) (mel-define-method-function (mime-decode-string string (nil "base64")) 'base64-ccl-decode-string) diff --git a/mel-q-ccl.el b/mel-q-ccl.el index 062922b..d648602 100644 --- a/mel-q-ccl.el +++ b/mel-q-ccl.el @@ -918,7 +918,7 @@ abcdefghijklmnopqrstuvwxyz\ (defun quoted-printable-ccl-insert-encoded-file (filename) "Encode contents of the file named as FILENAME, and insert it." (interactive (list (read-file-name "Insert encoded file: "))) - (insert-file-contents-as-specified-coding-system + (insert-file-contents-as-coding-system filename 'mel-ccl-quoted-printable-lf-lf-rev)) (mel-define-method-function @@ -950,8 +950,8 @@ encoding." (interactive (list (region-beginning) (region-end) (read-file-name "Write decoded region to file: "))) - (write-region-as-specified-coding-system - start end filename 'mel-ccl-quoted-printable-lf-lf-rev)) + (write-region-as-coding-system start end filename + 'mel-ccl-quoted-printable-lf-lf-rev)) (mel-define-method-function (mime-decode-string string (nil "quoted-printable"))