From a685a26284746387460c6d938f36ffe56fcabbc7 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Mon, 14 Dec 1998 02:41:11 +0000 Subject: [PATCH] * 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. --- ChangeLog | 14 ++++++++++++++ mel-b-ccl.el | 6 ++---- mel-q-ccl.el | 6 +++--- 3 files changed, 19 insertions(+), 7 deletions(-) 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")) -- 1.7.10.4