From 5d979bc6a3710f0bb5fdd58833efad788c905c6a Mon Sep 17 00:00:00 2001 From: yamaoka Date: Wed, 24 May 2000 09:56:41 +0000 Subject: [PATCH] (encode-coding-string, decode-coding-string): Return a copy of string. --- ChangeLog | 5 +++++ pces-raw.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 49a6c51..732fc08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-05-24 Katsumi Yamaoka + + * pces-raw.el (encode-coding-string, decode-coding-string): Return + a copy of string. + 2000-04-25 Katsumi Yamaoka * EMU-ELS (emu-modules): Don't include `pccl-20' for XEmacs 20 and diff --git a/pces-raw.el b/pces-raw.el index 54c751d..ada032c 100644 --- a/pces-raw.el +++ b/pces-raw.el @@ -29,11 +29,11 @@ (defun decode-coding-string (string coding-system) "Decode the STRING which is encoded in CODING-SYSTEM." - string) + (copy-sequence string)) (defun encode-coding-string (string coding-system) "Encode the STRING as CODING-SYSTEM." - string) + (copy-sequence string)) (defun decode-coding-region (start end coding-system) "Decode the text between START and END which is encoded in CODING-SYSTEM." -- 1.7.10.4